瀏覽代碼

报单,推荐人和安置人编号前后去空格1695

theo 3 年之前
父節點
當前提交
6cdb2b1d28
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      frontendApi/modules/v1/controllers/UserController.php

+ 3 - 1
frontendApi/modules/v1/controllers/UserController.php

@@ -348,7 +348,9 @@ class UserController extends BaseController {
             $post['province'] = $post['province'] ? :1;
             $post['city'] = $post['city'] ? :1;
             $post['county'] = $post['county'] ? :1;
-
+            $post['conUserName'] = trim($post['conUserName']);
+            $post['recUserName'] = trim($post['recUserName']);
+            
             // 针对于会员编号的判断
             $insertUserName = strtoupper($post['insertUserName']);
             $getRedisUserName = $redis->get('key_'.$insertUserName);