1
This commit is contained in:
@@ -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 删除期刊分期
|
||||
|
||||
Reference in New Issue
Block a user