This commit is contained in:
wangjinlei
2023-06-27 15:50:14 +08:00
parent f3c66fcd41
commit e4c4096f5b
3 changed files with 76 additions and 36 deletions

View File

@@ -709,6 +709,18 @@ class User extends Base
return jsonSuccess($re);
}
public function delAshUser(){
$data = $this->request->post();
$rule = new Validate([
"ash_id"=>"require"
]);
if(!$rule->check($data)){
return jsonError($rule->getError());
}
$this->user_ash_obj->where("ash_id",$data['ash_id'])->update(['state'=>1]);
return jsonSuccess([]);
}
public function upImportFile(){
$file = request()->file('userFile');
@@ -2514,6 +2526,7 @@ class User extends Base
*/
public function getMajorList()
{
die("service stop!!");
$res = $this->reviewer_major_obj->select();
return json(['code' => 0, 'data' => $res]);
}