From a289abd2fa5e75cc8723231a679df4cfb0301069 Mon Sep 17 00:00:00 2001 From: luoyang Date: Mon, 14 Jan 2019 12:02:32 +0800 Subject: [PATCH] fix --- .../merchants/beans/ClientRegisterInfo.java | 10 ++++++ .../partner/templates/add_partner.html | 13 ++----- .../partner/templates/partner_edit.html | 35 ++++++------------- 3 files changed, 23 insertions(+), 35 deletions(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/merchants/beans/ClientRegisterInfo.java b/src/main/java/au/com/royalpay/payment/manage/merchants/beans/ClientRegisterInfo.java index c7ab49079..9f9f4d25e 100644 --- a/src/main/java/au/com/royalpay/payment/manage/merchants/beans/ClientRegisterInfo.java +++ b/src/main/java/au/com/royalpay/payment/manage/merchants/beans/ClientRegisterInfo.java @@ -74,6 +74,8 @@ public class ClientRegisterInfo { private String merchant_introduction; private String merchant_tag; private String merchant_video_url; + @JSONField(name = "store_name") + private String storeName; public JSONObject insertObject() { JSONObject res = (JSONObject) JSON.toJSON(this); @@ -376,4 +378,12 @@ public class ClientRegisterInfo { public void setHfindustry(String hfindustry) { this.hfindustry = hfindustry; } + + public void setStoreName(String storeName) { + this.storeName = storeName; + } + + public String getStoreName() { + return storeName; + } } diff --git a/src/main/ui/static/payment/partner/templates/add_partner.html b/src/main/ui/static/payment/partner/templates/add_partner.html index bddcbe312..94b38db5c 100644 --- a/src/main/ui/static/payment/partner/templates/add_partner.html +++ b/src/main/ui/static/payment/partner/templates/add_partner.html @@ -107,26 +107,17 @@ -
+

store name for WeChat payment display and partner name

-
-

Required - Field

-

Less - Than 15 - Characters(including symbols and spaces)

-
-
+
+ name="store_name" + id="store-name-input" maxlength="15">

store name for WeChat payment display and partner name

-
-

Required Field

-

Less Than 15 - Characters(including symbols and spaces)

-
@@ -153,24 +146,18 @@
- -
+
- -

store name for WeChat payment display and partner - name

-
-

Required Field

-

Less Than 15 - Characters(including symbols and spaces)

-
+ +

store name for WeChat payment display and partner + name

+
+