This commit is contained in:
wangjinlei
2023-06-25 10:10:34 +08:00
parent 5679ccb8b0
commit 97855b8a31
3 changed files with 3 additions and 3 deletions

View File

@@ -762,7 +762,7 @@ class Production extends Base
$res = object_to_array(json_decode(myPost($url, $pra)));
if ($res['code'] == 0) {
$r_update['state'] = 2;
$r_update['w_article_id'] = isset($res['date']['article_id'])?$res['date']['article_id']:0;
$r_update['w_article_id'] = isset($res['data']['article_id'])?$res['data']['article_id']:0;
$this->production_article_obj->where('p_article_id', $data['p_article_id'])->update($r_update);
foreach($report_authors as $v){
$iua['user_id'] = $v['user_id'];