mirror of
https://github.com/newnius/YAO-portal.git
synced 2025-06-07 15:41:56 +00:00
bugfix, return job name when submit job
This commit is contained in:
parent
70fa101e50
commit
491eafe99e
@ -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'];
|
||||||
|
} else {
|
||||||
$res['job_name'] = $msg['jobName'];
|
$res['job_name'] = $msg['jobName'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user