|
...
|
...
|
@@ -59,7 +59,11 @@ class GeneratePage extends Command |
|
|
|
$noticeInfo = $noticeModel->read(['id'=>$task_id]);
|
|
|
|
try {
|
|
|
|
$this->output(' taskID: ' . $noticeInfo['id'] . ' start');
|
|
|
|
$notice_data = json_decode($noticeInfo['data'],true);
|
|
|
|
if(!is_array($noticeInfo['data'])){
|
|
|
|
$notice_data = json_decode($noticeInfo['data'],true);
|
|
|
|
}else{
|
|
|
|
$notice_data = $noticeInfo['data'];
|
|
|
|
}
|
|
|
|
$c_url = $notice_data['c_url'];
|
|
|
|
$c_params = json_encode($notice_data['c_params']);
|
|
|
|
$re = http_post($c_url, $c_params, [], true);
|
...
|
...
|
|