| | |
| | |
|
| | | import javax.annotation.Resource;
|
| | |
|
| | | import com.yeshi.fanli.util.SystemInfoUtil;
|
| | | import org.springframework.stereotype.Controller;
|
| | | import org.springframework.web.bind.annotation.RequestMapping;
|
| | | import org.yeshi.utils.JsonUtil;
|
| | |
| | |
|
| | | @RequestMapping("getTLJBuyGoods")
|
| | | public void getTLJBuyGoods(AcceptData acceptData, PrintWriter out, String callback) {
|
| | | if (acceptData.getSystem() == null)
|
| | | acceptData.setSystem(SystemInfoUtil.getSystem(acceptData));
|
| | | //
|
| | | List<TLJBuyGoods> goodsList = tljBuyGoodsService
|
| | | .listByDay(TimeUtil.getGernalTime(System.currentTimeMillis(), "yyyy-MM-dd"));
|
| | |
| | | */
|
| | | @RequestMapping("getShareHotGoods")
|
| | | public void getShareHotGoods(AcceptData acceptData, PrintWriter out, String callback) {
|
| | | if (acceptData.getSystem() == null)
|
| | | acceptData.setSystem(SystemInfoUtil.getSystem(acceptData));
|
| | | List<ShareHotGoods> goodsList = shareHotGoodsService
|
| | | .listByDay(TimeUtil.getGernalTime(System.currentTimeMillis(), "yyyy-MM-dd"));
|
| | | int count = goodsList.size();
|