wupengfei 2 years ago
parent
commit
fd837aad96
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .idea/workspace.xml
  2. 1 1
      application/api/controller/UserCenter.php

+ 1 - 1
.idea/workspace.xml

@@ -294,7 +294,7 @@
       <workItem from="1681692707179" duration="23967000" />
       <workItem from="1681779545042" duration="19230000" />
       <workItem from="1681866032563" duration="20122000" />
-      <workItem from="1681952639054" duration="836000" />
+      <workItem from="1681952639054" duration="879000" />
     </task>
     <servers />
   </component>

+ 1 - 1
application/api/controller/UserCenter.php

@@ -223,7 +223,7 @@ class UserCenter extends Base
     public function  delUser()
     {
         User::where('id',$this->user_id)->update(['is_deleted' => '1','phone'=>'','email'=>'']);
-        User::where('bind_id',$this->user_id)->update(['bind_id' => '']);
+        User::where('bind_id',$this->user_id)->update(['bind_id' => '0']);
         $this->success('注销成功');
     }