|
...
|
...
|
@@ -138,6 +138,11 @@ class AdsController extends BaseController |
|
|
|
return $this->response('请添加关联网站!', Code::USER_ERROR, []);
|
|
|
|
}
|
|
|
|
$is_require_num = 0;
|
|
|
|
foreach ($target as $k=>$v){
|
|
|
|
if(empty($item['url'])){
|
|
|
|
unset($target[$k]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
foreach ($target as &$item){
|
|
|
|
if(empty($item['url'])){
|
|
|
|
return $this->response('网站域名不能为空!', Code::USER_ERROR, []);
|
...
|
...
|
|