Commit 794df178 by 徐高华

/

parent 418e36cb
...@@ -16,7 +16,7 @@ public interface QywxSendService { ...@@ -16,7 +16,7 @@ public interface QywxSendService {
/** /**
* 素材-分享 * 素材-分享
*/ */
public ServiceResponse<String> sendMessage(String wxEnterpriseId, String staffId, List<String> extendUserList, public ServiceResponse<String> sendMessageShare(String wxEnterpriseId, String staffId, List<String> extendUserList,
List<ContentMaterialDTO> imageList, String message); List<ContentMaterialDTO> imageList, String message);
/** /**
......
...@@ -80,7 +80,8 @@ public class QywxSendServiceImpl implements QywxSendService { ...@@ -80,7 +80,8 @@ public class QywxSendServiceImpl implements QywxSendService {
return this.send(wxEnterpriseId, staffId, extendUserList, materialIdList, null, 1); return this.send(wxEnterpriseId, staffId, extendUserList, materialIdList, null, 1);
} }
public ServiceResponse<String> sendMessage(String wxEnterpriseId, String staffId, List<String> extendUserList, @Autowired
public ServiceResponse<String> sendMessageShare(String wxEnterpriseId, String staffId, List<String> extendUserList,
List<ContentMaterialDTO> imageList, String message) { List<ContentMaterialDTO> imageList, String message) {
List<String> materialIdList = this.getImageMediaId(wxEnterpriseId, imageList, 1); List<String> materialIdList = this.getImageMediaId(wxEnterpriseId, imageList, 1);
return this.send(wxEnterpriseId, staffId, extendUserList, materialIdList, message, 2); return this.send(wxEnterpriseId, staffId, extendUserList, materialIdList, message, 2);
...@@ -145,6 +146,7 @@ public class QywxSendServiceImpl implements QywxSendService { ...@@ -145,6 +146,7 @@ public class QywxSendServiceImpl implements QywxSendService {
} }
// 分享朋友圈 // 分享朋友圈
@Autowired
public ServiceResponse<String> share(String wxEnterpriseId, List<String> clerkIdList, String message, public ServiceResponse<String> share(String wxEnterpriseId, List<String> clerkIdList, String message,
List<ContentMaterialDTO> imageList) { List<ContentMaterialDTO> imageList) {
WxEnterpriseQwDTO qwDTO = this.wxEnterpriseService.getQwInfo(wxEnterpriseId); WxEnterpriseQwDTO qwDTO = this.wxEnterpriseService.getQwInfo(wxEnterpriseId);
......
...@@ -1237,7 +1237,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA ...@@ -1237,7 +1237,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
@Override @Override
public JSONResponse sendMessageShare(String wxEnterpriseId, String staffId, List<String> extendUserList, String message, public JSONResponse sendMessageShare(String wxEnterpriseId, String staffId, List<String> extendUserList, String message,
List<ContentMaterialDTO> imgList) { List<ContentMaterialDTO> imgList) {
com.gic.api.base.commons.ServiceResponse<String> resp = this.qywxSendService.sendMessage(wxEnterpriseId, staffId, extendUserList, imgList, message) ; com.gic.api.base.commons.ServiceResponse<String> resp = this.qywxSendService.sendMessageShare(wxEnterpriseId, staffId, extendUserList, imgList, message) ;
return this.retJson(resp) ; return this.retJson(resp) ;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment