add store_name

master
luoyang 6 years ago
parent 7f28b588f0
commit 422891997a

@ -22,8 +22,8 @@ public class SubMerchantIdApply {
private String merchant_id;
@NotBlank(message = "error.payment.valid.param_missing")
@Length(max = 20)
@JSONField(name = "short_name")
private String merchant_shortname;
@JSONField(name = "store_name")
private String merchant_storename;
@NotBlank(message = "error.payment.valid.param_missing")
@Length(max = 20)
@JSONField(name = "company_phone")
@ -51,8 +51,8 @@ public class SubMerchantIdApply {
if(StringUtils.isNotEmpty(merchant_name)){
params.put("merchant_name",merchant_name);
}
if(StringUtils.isNotEmpty(merchant_shortname)){
params.put("merchant_shortname",merchant_shortname);
if(StringUtils.isNotEmpty(merchant_storename)){
params.put("merchant_shortname",merchant_storename);
}
if(StringUtils.isNotEmpty(office_phone)){
params.put("office_phone",office_phone);
@ -101,11 +101,11 @@ public class SubMerchantIdApply {
}
public String getMerchant_shortname() {
return this.merchant_shortname;
return this.merchant_storename;
}
public void setMerchant_shortname(String merchant_shortname) {
this.merchant_shortname = merchant_shortname;
this.merchant_storename = merchant_shortname;
}
public String getOffice_phone() {

@ -3763,7 +3763,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
yeepayConfig.put("industry",merchantInfo.getString("industry"));
yeepayConfig.put("business_content",merchantInfo.getString("business_content"));
yeepayConfig.put("business_licence",merchantInfo.getString("business_licence"));
yeePayClientConfigMapper.update(yeepayConfig);
// yeePayClientConfigMapper.update(yeepayConfig);
yeepayConfig.put("company_website",merchantInfo.getString("company_website"));
yeepayConfig.put("abn",merchantInfo.getString("abn"));
yeepayConfig.put("mode","UPDATE");

@ -109,7 +109,7 @@
</div>
<div class="form-group"
ng-class="{'has-error':partnerForm.store_name.$invalid && partnerForm.store_name.$dirty}">
<label class="control-label col-sm-2" for="store-name-input">* Short
<label class="control-label col-sm-2" for="store-name-input">Store
Name</label>
<div class="col-sm-8">
<input class="form-control" ng-model="partner.store_name"

@ -49,7 +49,7 @@
ng-class="{'has-error':subForm.merchant_storename.$invalid && subForm.merchant_storename.$dirty}">
<label class="control-label col-sm-3" for="merchant_storename_input">* Company Store Name</label>
<div class="col-sm-8">
<input class="form-control" ng-model="subMerchantInfo.storename"
<input class="form-control" ng-model="subMerchantInfo.store_name"
type="text" name="merchant_storename" id="merchant_storename_input" required maxlength="50">
<div ng-messages="subForm.merchant_storename.$error" ng-if="subForm.merchant_storename.$dirty">
<p class="small text-danger" ng-message="required">Required Field</p>

@ -42,7 +42,7 @@
ng-class="{'has-error':subForm.merchant_storename.$invalid && subForm.merchant_storename.$dirty}">
<label class="control-label col-sm-3" for="merchant_storename_input">* Merchant Store Name</label>
<div class="col-sm-8">
<input class="form-control" ng-model="subMerchantInfo.storename"
<input class="form-control" ng-model="subMerchantInfo.store_name"
type="text" name="merchant_storename" id="merchant_storename_input" required maxlength="50">
<div ng-messages="subForm.merchant_storename.$error" ng-if="subForm.merchant_storename.$dirty">
<p class="small text-danger" ng-message="required">Required Field</p>

@ -326,6 +326,8 @@
<p class="form-control-static" ng-bind="partner.business_name"></p>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">Store Name</label>
<div class="col-sm-10">
<p class="form-control-static pull-left" ng-bind="partner.store_name"></p>
<p class="form-control-static pull-left" ng-if="isComplianceOfShortName && partner.open_status"
@ -333,6 +335,7 @@
注意:(微信渠道可能不合规)
</p>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">Business Structure</label>

@ -93,7 +93,7 @@
<input class="form-control" ng-model="partner.store_name" type="text"
name="short_name"
id="store-name-input" required maxlength="15">
<p class="small text-info">short name for WeChat payment display and partner
<p class="small text-info">store name for WeChat payment display and partner
name</p>
<div ng-messages="partnerForm.store_name.$error"
ng-if="partnerForm.store_name.$dirty">
@ -129,13 +129,13 @@
<div class="col-sm-8">
<input class="form-control" ng-model="partner.short_name" type="text"
name="short_name"
id="short-name-input" required maxlength="15">
id="short-name-input" required maxlength="50">
<p class="small text-info">short name for WeChat payment display and partner
name</p>
<div ng-messages="partnerForm.short_name.$error"
ng-if="partnerForm.company_name.$dirty">
<p class="small text-danger" ng-message="required">Required Field</p>
<p class="small text-danger" ng-message="maxlength">Less Than 15
<p class="small text-danger" ng-message="maxlength">Less Than 50
Characters(including symbols and spaces)</p>
</div>
</div>
@ -154,6 +154,23 @@
</div>
</div>
</div>
<div class="form-group"
ng-class="{'has-error':partnerForm.store_name.$invalid && partnerForm.store_name.$dirty}">
<label class="control-label col-sm-2" for="store-name-input">Store Name</label>
<div class="col-sm-8">
<input class="form-control" ng-model="partner.store_name" type="text"
name="short_name"
id="store-name-input" required maxlength="15">
<p class="small text-info">store name for WeChat payment display and partner
name</p>
<div ng-messages="partnerForm.store_name.$error"
ng-if="partnerForm.store_name.$dirty">
<p class="small text-danger" ng-message="required">Required Field</p>
<p class="small text-danger" ng-message="maxlength">Less Than 15
Characters(including symbols and spaces)</p>
</div>
</div>
</div>
<div class="form-group"
ng-class="{'has-error':partnerForm.business_structure.$invalid && partnerForm.business_structure.$dirty}">
<label class="control-label col-sm-2" for="business-structure-input">Business Structure</label>

Loading…
Cancel
Save