编辑编委功能修改

This commit is contained in:
chengxl
2025-10-22 13:33:42 +08:00
parent 017a4b19df
commit 01076b2657

View File

@@ -961,4 +961,20 @@ class Board extends Base {
}
}
}
/**
* 获取编委信息-新
*/
public function getBoardInfo(){
$data = $this->request->post();
$rule = new Validate([
"btj_id"=>"require",
]);
if(!$rule->check($data)){
return jsonError($rule->getError());
}
//查询数据
$aWhere = ['btj_id' => $data['btj_id'],'state' => 0];
$board_to_journal = $this->board_to_journal_obj->where($aWhere)->find();
return jsonSuccess($board_to_journal);
}
}