Forráskód Böngészése

修改设置经销商收货人方法。改为调用updateUserInfo

qxm 4 éve
szülő
commit
489c5e92d2

+ 1 - 1
suishenbang-wxportal/suishenbang-wxportal-api/src/main/java/com/dgtly/wxportal/controller/WxPortalController.java

@@ -102,7 +102,7 @@ public class WxPortalController extends ApiBaseController {
         SysUser user = new SysUser();
         user.setUserId(Long.parseLong(userId));
         user.setIsConsignee(IsConsignee);
-        int i = userService.updateUser(user);
+        int i = userService.updateUserInfo(user);
         if (i>0){
             return AjaxResult.success();
         }else {

+ 1 - 0
suishenbang-wxportal/suishenbang-wxportal-common/src/main/java/com/dgtly/wxportal/service/impl/EsignPersonReaLnVerifyServiceImpl.java

@@ -53,6 +53,7 @@ public class EsignPersonReaLnVerifyServiceImpl implements IEsignPersonRealnVerif
         JSONObject json = new JSONObject();
         json.put("accountId", accountId);
         json.put("authType", "PSN_TELECOM_AUTHCODE");
+        json.put("availableAuthTypes", new String[]{"PSN_TELECOM_AUTHCODE","PSN_BANK4_AUTHCODE","PSN_FACEAUTH_BYURL"});
         json.put("contextInfo", contextInfo);
         json.put("configParams", configParams);
         return json;