old mode 100644
new mode 100755
| | |
| | | private WechatAuthProperties wechatAuthProperties; |
| | | |
| | | @Override |
| | | public ResponseEntity<String> |
| | | gateway(IPageData pd, String wId) throws Exception { |
| | | public ResponseEntity<String> gateway(IPageData pd, String wId) throws Exception { |
| | | |
| | | JSONObject paramIn = JSONObject.parseObject(pd.getReqData()); |
| | | Assert.hasKeyAndValue(paramIn, "fromUserName", "请求报文中未包含fromUserName"); |
| | |
| | | noBindOwnerResponseMessage = WechatConstant.NO_BIND_OWNER_RESPONSE_MESSAGE; |
| | | } |
| | | if (!noBindOwnerResponseMessage.contains("wAppId=")) { |
| | | if (noBindOwnerResponseMessage.indexOf("?") > 0) { |
| | | noBindOwnerResponseMessage += ("&wAppId=" +WechatFactory.getAppId(wId)); |
| | | if (noBindOwnerResponseMessage.indexOf("W_APP_ID") > 0) { |
| | | noBindOwnerResponseMessage = noBindOwnerResponseMessage.replace("W_APP_ID","wAppId=" +WechatFactory.getAppId(wId)); |
| | | } |
| | | } |
| | | |