qifengquan 1 سال پیش
والد
کامیت
01315daffa
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      application/admin/controller/user/User.php

+ 1 - 1
application/admin/controller/user/User.php

@@ -180,7 +180,7 @@ class User extends Backend
             $this->success("Ajax请求成功", null, ['id' => $ids]);
         }
         $detail = $row->toArray();
-        $detail['gender'] = $detail['gender'] == 0?'男':'女';
+        $detail['gender'] = $detail['gender'] == 0?'女':'男';
         $detail['region_province'] = Area::where('id',$detail['region_province'])->value('name');
         $detail['region_city'] = Area::where('id',$detail['region_city'])->value('name');
         $detail['region_area'] = Area::where('id',$detail['region_area'])->value('name');