提交 3de45840 authored 作者: yangdongming's avatar yangdongming

--no commit message

上级 9571968a
package com.zrqx.resource.fg.controller.ebook;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import java.util.List;
import java.util.Map;
......@@ -14,16 +11,16 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import tk.mybatis.mapper.entity.Example;
import com.zrqx.core.constant.resource.ResourceRequestPath;
import com.zrqx.core.enums.AllResourceTypeEnum;
import com.zrqx.core.enums.resource.EbookPromptMessageEnum;
import com.zrqx.core.form.resource.fg.ebook.FgQueryEbookInfoForm;
import com.zrqx.core.form.resource.fg.ebook.FgQueryOtherEbookForm;
import com.zrqx.core.form.statistics.GoodsLogForm;
import com.zrqx.core.model.resource.ebook.Book;
import com.zrqx.core.model.resource.ebook.Ebook;
import com.zrqx.core.util.bean.BeanUtils;
import com.zrqx.core.util.http.HttpClientUtils;
import com.zrqx.core.util.page.PageInfo;
import com.zrqx.core.util.page.PageParam;
import com.zrqx.core.util.response.CallBack;
......@@ -36,6 +33,10 @@ import com.zrqx.resource.fg.service.ebook.FgEbookDiyTypeService;
import com.zrqx.resource.fg.service.ebook.FgEbookService;
import com.zrqx.resource.fg.service.marketing.FgPromotionService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import tk.mybatis.mapper.entity.Example;
/**
* 电子书管理-controller
* @author Conan
......@@ -85,6 +86,13 @@ public class FgEbookController {
}
// 更新浏览量
ebookservice.updateBrowseNum(oid);
//增加统计信息
GoodsLogForm logForm = new GoodsLogForm();
logForm.setName(vo.getName());
logForm.setType(vo.getType());
logForm.setTypeZh("图书");
HttpClientUtils.send(logForm, HttpClientUtils.CLICK);
return CallBack.success(vo);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论