| | |
| | | public ResponseEntity<String> generatorQrCode(@RequestHeader(value = "store-id") String storeId, |
| | | @RequestHeader(value = "user-id") String userId, |
| | | @RequestParam(value = "communityId") String communityId) { |
| | | |
| | | SmallWeChatDto smallWeChatDto = new SmallWeChatDto(); |
| | | smallWeChatDto.setObjId(communityId); |
| | | smallWeChatDto.setObjType(SmallWeChatDto.OBJ_TYPE_COMMUNITY); |
| | |
| | | + "&communityId=" + communityId + "&appId=" + AppDto.WECHAT_OWNER_APP_ID; |
| | | |
| | | if (smallWeChatDtos != null && smallWeChatDtos.size() > 0) { |
| | | ownerUrl += ("&wAppId=" + smallWeChatDtos.get(0).getAppid()); |
| | | ownerUrl += ("&wAppId=" + smallWeChatDtos.get(0).getAppId()); |
| | | } |
| | | return ResultVo.createResponseEntity(ownerUrl); |
| | | } |