| | |
| | | stringObjectHashMap.put("cover",cover); |
| | | stringObjectHashMap.put("productImages",productImages); |
| | | stringObjectHashMap.put("sort",sort); |
| | | stringObjectHashMap.put("type",UserExt.getUser().getObjectType()); |
| | | System.out.println(stringObjectHashMap); |
| | | pointMercharsClient.updateGoodsDetail(stringObjectHashMap); |
| | | return new SuccessTip<>(); |
| | |
| | | pointsMerchandise.setState(1); |
| | | pointsMerchandise.setInsertTime(new Date()); |
| | | pointsMerchandise.setCoursePackageConfigId(coursePackageConfigId); |
| | | if(UserExt.getUser().getObjectType()!=1){ |
| | | pointsMerchandise.setStatus(2); |
| | | } |
| | | // 代替storeId |
| | | pointsMerchandise.setShelves(1); |
| | | if(typeAll!=2){ |
| | |
| | | } |
| | | pointMercharsClient.addCitys(objects); |
| | | }else if(useScope==3){ |
| | | |
| | | if(UserExt.getUser().getObjectType()==3){ |
| | | storeIds=UserExt.getUser().getObjectId().toString(); |
| | | } |
| | | Integer oid=null; |
| | | String[] split = storeIds.split(","); |
| | | for (int i = 0; i < split.length; i++) { |
| | |
| | | |
| | | |
| | | }else { |
| | | // ? |
| | | pointsMerchandise.setShelves(storeId); |
| | | pointsMerchandise.setUseScope(3); |
| | | |
| | | Integer id = pointMercharsClient.add(pointsMerchandise); |
| | | } |
| | | return new SuccessTip<>(); |
| | |
| | | public String payOfDetails(@PathVariable(value = "id") Integer id,Model model) { |
| | | System.out.println(id); |
| | | model.addAttribute("id",id); |
| | | Coupon coupon = client.queryCouponById(id); |
| | | model.addAttribute("type",coupon.getType()); |
| | | return PREFIX + "TGoods_pay.html"; |
| | | } |
| | | /** |