mirror of
https://github.com/newnius/YAO-portal.git
synced 2025-06-07 07:31:56 +00:00
return job_name when submit job
This commit is contained in:
parent
62de1335ad
commit
70fa101e50
@ -49,6 +49,7 @@ function job_submit(CRObject $job)
|
|||||||
if ($msg['code'] !== 0) {
|
if ($msg['code'] !== 0) {
|
||||||
$res['errno'] = Code::FAIL;
|
$res['errno'] = Code::FAIL;
|
||||||
$res['msg'] = $msg['error'];
|
$res['msg'] = $msg['error'];
|
||||||
|
$res['job_name'] = $msg['jobName'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$log = new CRObject();
|
$log = new CRObject();
|
||||||
|
Loading…
Reference in New Issue
Block a user