yonge il y a 2 ans
Parent
commit
fbab0270b4

+ 2 - 2
mec-thirdparty/src/main/java/com/ym/mec/thirdparty/adapay/CorpMemberService.java

@@ -27,7 +27,7 @@ public class CorpMemberService {
 		Map<String, Object> memberParams = new HashMap<String, Object>();
 		memberParams.put("member_id", req.getMemberId());
 		memberParams.put("app_id", appId);
-		memberParams.put("order_no", appId + "_" + System.currentTimeMillis());
+		memberParams.put("order_no", merchantKey + "_" + System.currentTimeMillis());
 		memberParams.put("social_credit_code_expires", req.getSocialCreditCodeExpires());
 		memberParams.put("business_scope", req.getBusinessScope());
 		memberParams.put("name", req.getName());
@@ -69,7 +69,7 @@ public class CorpMemberService {
 		memberParams.put("adapay_func_code", "corp_members.update");
 		memberParams.put("member_id", req.getMemberId());
 		memberParams.put("app_id", appId);
-		memberParams.put("order_no", appId + "_" + System.currentTimeMillis());
+		memberParams.put("order_no", merchantKey + "_" + System.currentTimeMillis());
 		memberParams.put("social_credit_code_expires", req.getSocialCreditCodeExpires());
 		memberParams.put("business_scope", req.getBusinessScope());
 		memberParams.put("name", req.getName());

+ 10 - 0
mec-thirdparty/src/main/java/com/ym/mec/thirdparty/adapay/entity/EnterpriseUser.java

@@ -98,6 +98,8 @@ public class EnterpriseUser {
 	 */
 	private String notifyUrl;
 
+    private String zipCode;
+
 	public String getMemberId() {
 		return memberId;
 	}
@@ -241,4 +243,12 @@ public class EnterpriseUser {
 	public void setNotifyUrl(String notifyUrl) {
 		this.notifyUrl = notifyUrl;
 	}
+
+	public String getZipCode() {
+		return zipCode;
+	}
+
+	public void setZipCode(String zipCode) {
+		this.zipCode = zipCode;
+	}
 }