Commit e36e6444 authored by shajiaiming's avatar shajiaiming

banner跳转链接取消必填

parent 2e5d2f44
...@@ -30,7 +30,7 @@ class CoinBannerController extends BaseController ...@@ -30,7 +30,7 @@ class CoinBannerController extends BaseController
$request = Yii::$app->request; $request = Yii::$app->request;
$image_url = $request->post('image_url', ''); $image_url = $request->post('image_url', '');
$banner_url = $request->post('banner_url',''); $banner_url = $request->post('banner_url','');
if($image_url && $banner_url){ if($image_url){
$banner_item = new CoinBannerItem(); $banner_item = new CoinBannerItem();
$banner_item->banner_url = $banner_url; $banner_item->banner_url = $banner_url;
$banner_item->image_url = $image_url; $banner_item->image_url = $image_url;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment