1
This commit is contained in:
@@ -180,7 +180,15 @@ class Publish extends Base
|
||||
$pra = [];
|
||||
$pra['article_id'] = $data['article_id'];
|
||||
$res = object_to_array(json_decode(myPost($url, $pra)));
|
||||
$re['detail'] = $res['data']["detail"];
|
||||
$detail = $res['data']["detail"];
|
||||
|
||||
if($detail['html_type']==2){
|
||||
$product = $this->production_article_obj->where("w_article_id",$data['article_id'])->find();
|
||||
$check = $this->article_main_obj->where("article_id",$product['article_id'])->find();
|
||||
$detail['has_html'] = $check?1:0;
|
||||
}
|
||||
|
||||
$re['detail'] = $detail;
|
||||
return jsonSuccess($re);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user