update 小组服务团队任务-入股任务改为手动审核,线下转账
This commit is contained in:
parent
36a04096b1
commit
1c8fd0153c
@ -205,6 +205,12 @@ class TaskController extends BaseApiController
|
|||||||
public function shareholder(){
|
public function shareholder(){
|
||||||
$parmas = $this->request->param();
|
$parmas = $this->request->param();
|
||||||
$task = TaskLogic::detail($parmas);
|
$task = TaskLogic::detail($parmas);
|
||||||
|
$extend = $task['extend'];
|
||||||
|
if (isset($extend['is_commit']) && $extend['is_commit'] == 1) {
|
||||||
|
$approve = Approve::where(['task_id' =>$task['id']])->order('id', 'desc')->find();
|
||||||
|
$task['approve_status'] = $approve['check_status']; //审核状态
|
||||||
|
$task['deny_notes'] = $approve['remark']; // 拒绝原因
|
||||||
|
}
|
||||||
return $this->success('ok', $task);
|
return $this->success('ok', $task);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user