qin преди 1 година
родител
ревизия
e29ef5e251

+ 1 - 2
src/main/java/com/poteviohealth/ym/ipos/model/merchant/back/UserSearchBack.java

@@ -2,7 +2,6 @@ package com.poteviohealth.ym.ipos.model.merchant.back;
 
 import com.poteviohealth.ym.ipos.model.back.BaseBack;
 import io.swagger.annotations.ApiModelProperty;
-import lombok.Builder;
 import lombok.Data;
 
 import java.util.List;
@@ -72,7 +71,7 @@ public class UserSearchBack extends BaseBack {
     private String license_address;
 
     @ApiModelProperty(value = "法人证件类型,1:身份证(目前只支持身份证)")
-    private String identity_type;
+    private String identity_type="1";
 
     @ApiModelProperty(value = "法人姓名")
     private String legal_name;

+ 1 - 1
src/main/java/com/poteviohealth/ym/ipos/model/merchant/detail/EntregisterAddDetail.java

@@ -26,5 +26,5 @@ public class EntregisterAddDetail extends EntregisterUpdateDetail {
      * 14:台湾居民证
      */
     @ApiModelProperty(value = "法人证件类型",required = true)
-    private String identity_type;
+    private String identity_type ="1";
 }

+ 1 - 1
src/main/java/com/poteviohealth/ym/ipos/service/impl/MerchantServiceImpl.java

@@ -392,7 +392,7 @@ public class MerchantServiceImpl implements IMerchantService {
         detail.setCert_photo_b(this.merchantPicture(dto.getCert_photo_b()).getData());
         detail.setMerchant_name(dto.getMerchant_name());
         detail.setLicense_code(dto.getLicense_code());
-        detail.setIdentity_type(dto.getIdentity_type());
+        //detail.setIdentity_type(dto.getIdentity_type());
         iAdd.setMerchant_entregister_request(detail);
         BaseBack back = null;
         try {