1
0
mirror of https://github.com/newnius/YAO-portal.git synced 2025-06-06 07:11:54 +00:00

bugfix, return job name when submit job

This commit is contained in:
Newnius 2020-07-09 10:07:23 +08:00
parent 70fa101e50
commit 491eafe99e

View File

@ -49,6 +49,7 @@ function job_submit(CRObject $job)
if ($msg['code'] !== 0) {
$res['errno'] = Code::FAIL;
$res['msg'] = $msg['error'];
} else {
$res['job_name'] = $msg['jobName'];
}