| | |
| | | private RemoteSysStaffService remoteSysStaffService; |
| | | |
| | | @Resource |
| | | private RemoteFileService remoteFileService; |
| | | |
| | | @Resource |
| | | private ShopTaskService shopTaskService; |
| | | |
| | | @Resource |
| | |
| | | if(newShop){ |
| | | //生成商户关联记录 |
| | | initNewShop(shop,mgtEditShopDto.getUserId()); |
| | | CodeGetDto codeGetDto = new CodeGetDto(); |
| | | String url = "https://wxapp.hhhrt.cn/mini/activity?activityId="+shop.getShopId(); |
| | | codeGetDto.setUrl(url); |
| | | codeGetDto.setFileName("shop-"+shop.getShopId()); |
| | | String codeUrl = remoteFileService.getAppOrderTotal(codeGetDto).getData(); |
| | | shop.setShopCode(codeUrl); |
| | | this.saveOrUpdate(shop); |
| | | } |
| | | } |
| | | |