|
@@ -256,8 +256,7 @@ public class CartHandlers {
|
|
public ResultMsg addCart(HttpServletRequest request,
|
|
public ResultMsg addCart(HttpServletRequest request,
|
|
@RequestParam("colorId") Integer colorId,
|
|
@RequestParam("colorId") Integer colorId,
|
|
@RequestParam(value = "cartNum", required = false, defaultValue = "1") Integer cartNum) throws Exception {
|
|
@RequestParam(value = "cartNum", required = false, defaultValue = "1") Integer cartNum) throws Exception {
|
|
-// String openId = WechatUtils.getUserBySession(request).getUserOpenid();
|
|
|
|
- String openId = "oZ9pv02WMRQgyDVRY1a_daYecwHI";
|
|
|
|
|
|
+ String openId = WechatUtils.getUserBySession(request).getUserOpenid();
|
|
ResultMsg remsg=new ResultMsg();
|
|
ResultMsg remsg=new ResultMsg();
|
|
|
|
|
|
if (colorId == null || "".equals(colorId) || "null".equals(colorId)) {
|
|
if (colorId == null || "".equals(colorId) || "null".equals(colorId)) {
|
|
@@ -406,7 +405,6 @@ public class CartHandlers {
|
|
}
|
|
}
|
|
bean.setText(openId);
|
|
bean.setText(openId);
|
|
bean.setPaperData(pageNO, pageSize);
|
|
bean.setPaperData(pageNO, pageSize);
|
|
- System.out.println(bean.getMinNum() + "-->" + bean.getMaxNum());
|
|
|
|
List<ShopOrderAndItemDto> shopOrderList = cartService.selectShopOrder(bean);
|
|
List<ShopOrderAndItemDto> shopOrderList = cartService.selectShopOrder(bean);
|
|
ShopSystemRule shopSystemRule = this.adminOrderService.getReluByRid(109);
|
|
ShopSystemRule shopSystemRule = this.adminOrderService.getReluByRid(109);
|
|
|
|
|