mirror of
https://github.com/newnius/YAO-portal.git
synced 2025-06-06 07:11:54 +00:00
update
This commit is contained in:
parent
bb54f71a61
commit
ced80257d5
@ -158,6 +158,8 @@ function job_predict_req(CRObject $job)
|
||||
$spider->doGet(YAO_SCHEDULER_ADDR . '?action=job_predict_req&name=' . $job->get('name') . '&cmd=' . $job->get('cmd'));
|
||||
$msg = json_decode($spider->getBody(), true);
|
||||
|
||||
var_dump($msg);
|
||||
|
||||
if ($msg['code'] !== 0) {
|
||||
$res['errno'] = $msg['code'];
|
||||
$res['msg'] = $msg['error'];
|
||||
|
Loading…
Reference in New Issue
Block a user