Browse Source

强制unset

lizhen_gitee 6 tháng trước cách đây
mục cha
commit
cca517491c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      application/api/controller/User.php

+ 1 - 0
application/api/controller/User.php

@@ -411,6 +411,7 @@ class User extends Api
                 }
             }
         }
+        unset($data['introcode']);
         //dump($data);
         if(empty($data)){
             $this->success();