项目

一般

简介

需求 #20842

莫松兴 更新于 超过 4 年 之前

<p>原需求的H5页面:http://192.168.1.236:30001/issues/20669</p>

<p>更改接口:&nbsp; api/supplier/get_hot_cat_goods&nbsp; &nbsp; 新增传入page和page_size&nbsp; &nbsp;(h5当季最好卖的款)</p>

<p>环境:dev18</p>

<pre>
新增接口
/* 最好卖的款-活动列表 */
&#39;os/activity.BestSell/bestSellActivityList&#39;,
/* 最好卖的款-商品列表 */
&#39;os/activity.BestSell/bestSellGoodsList&#39;,
/* 最好卖的款-搜索商品*/
&#39;os/activity.BestSell/bestSellSearchGoods&#39;,
/* 最好卖的款-手动插入商品*/
&#39;os/activity.BestSell/bestSellSaveGood&#39;,
/* 最好卖的款-导入商品*/
&#39;os/activity.BestSell/bestSellImportGoods&#39;,
/* 最好卖的款-更改是否主推*/
&#39;os/activity.BestSell/bestSellPush&#39;,
/* 最好卖的款-更改排序*/
&#39;os/activity.BestSell/bestSellSort&#39;,
/* 最好卖的款-删除数据*/
&#39;os/activity.BestSell/bestSellDel&#39;,</pre>

<p>导入模板下载地址&nbsp;https://static1.yishouapp.com/oss/tools/def/2020/10/14/e511fbcac2dd2bf5a18910c4e5fa391c.xlsx</p>

<p>添加专享价商品不需要展示近3天销量</p>

<p>新增表:fmys_best_sell(最好卖的款的商品表)&nbsp; &nbsp;fmys_best_sell_activity(最好卖的款活动表)&nbsp; &nbsp;fmys_data_best_sell(活动商品具体销量数据表)</p>

<p><b>修改以前脚本:php think activity -f setHotCatGoods&nbsp; </b>每天<b>7点生成活动 依赖fmys_data_area_sale表的数据</b></p>

<p>新增定时任务&nbsp;php think push -f synchronizeBestSellData&nbsp; &nbsp;每天8点半跑一次</p>

<p>h5前端分支:feature/20669-新客首页承接中心</p>

<p>os前端分支:feature/20842-最好卖的款</p>

<p>后端分支:&nbsp;&nbsp;feature/10.9#20842最好卖的款支持后台配置</p>

<p>新增数据表:&nbsp;&nbsp;fmys_best_sell_activity&nbsp; fmys_best_sell&nbsp; &nbsp;fmys_data_best_sell(已上线)</p>

<p>&nbsp;</p>

<p>10.24新增&nbsp;</p>

<p>上线时候 定时任务脚本需要启动</p>

<p>ALTER TABLE fmys_best_sell<br />
ADD COLUMN `push_sort` int(11) NOT NULL DEFAULT 0 COMMENT &#39;主推排序&#39; ;</p>

<p>修改接口 os/BestSell/bestSellGoodsList &nbsp;后台商品列表 新增返回参数 push_sort(主推排序)</p>

<p>修改接口 os/BestSell/bestSellSort&nbsp; &nbsp;后台更改排序&nbsp; 新增传入参数&nbsp; push_sort(主推排序)</p>

<p>&nbsp;</p>

<p>菜单栏权限:activity.BestSell/bestSoldActivityList</p>

返回

从剪贴板添加图片 (最大尺寸: 50.8 MB)