|
|
|
@ -104,7 +104,8 @@ class AdvertisingController extends AdminController |
|
|
|
->customFormat(fn() => $this->type == 0 ? $this->url : '') |
|
|
|
->help('格式如下:<br>产品详情页:/pages/goodsDetail/index?goods_id=产品ID |
|
|
|
<br>文章详情页:/pages/notice/article?article_id=文章ID |
|
|
|
<br>公告详情页:/pages/notice/notice?notice_id=公告ID'); |
|
|
|
<br>公告详情页:/pages/notice/notice?notice_id=公告ID |
|
|
|
<br>专题活动页:/pages/activityList/index?special_id=专题ID'); |
|
|
|
}) |
|
|
|
->when(1, function (Form $form) { |
|
|
|
$form->url('url-1', '链接到网址') |
|
|
|
|