This commit is contained in:
wangjinlei
2022-09-30 18:03:31 +08:00
parent 85c734c1da
commit c0fba968de

View File

@@ -1510,6 +1510,22 @@ class Journal extends Controller
return jsonSuccess($re);
}
/**
* 获取分期详情
*/
public function getStageDetail(){
$data = $this->request->post();
$rule = new Validate([
'journal_stage_id'=>'require|number'
]);
if(!$rule->check($data)){
return jsonError($rule->getError());
}
$stage = $this->journal_stage_obj->where('journal_stage_id',$data['journal_stage_id'])->find();
$re['stage'] = $stage;
return jsonSuccess($re);
}
/**
* @title 删除期刊分期
* @description 删除期刊分期