浏览代码

【Add】增加分享配置项,增加着落页与抽奖页的区别

liuxiangxin 2 月之前
父节点
当前提交
2f742d54c4
共有 2 个文件被更改,包括 8 次插入1 次删除
  1. 4 0
      app/Models/ShareMessage.php
  2. 4 1
      resources/views/admin/lottery_recruitment/index.blade.php

+ 4 - 0
app/Models/ShareMessage.php

@@ -31,7 +31,11 @@ class ShareMessage extends Model
                             'pages/coupon/active'=>'领券活动',
                             'pages/recruitment/index'=>'拉新活动',
                             'pages/activity/index'=>'答题活动',
+                            'pages/activity/lottery'=>'答题抽奖',
                             'pages/product/index'=>'产品详情',
+                            'pages/recruitment/lottery_new'=>'拉新抽奖',
+                            'pages/video/index'=>'视频课程',
+                            'pages/video/detail'=>'视频详情',
                         ];
 
     /**

+ 4 - 1
resources/views/admin/lottery_recruitment/index.blade.php

@@ -58,7 +58,10 @@ style="margin: 0 auto;width: 96%;padding: 30px 0px;"
 									@endif
 								@endif
 							</td>
-							<td>/pages/recruitment/lottery_new?id={{$a['id']}}</td>
+							<td>
+								<p>/pages/recruitment/lottery_new?id={{$a['id']}}&index=0 【着落页】</p>
+								<p>/pages/recruitment/lottery_new?id={{$a['id']}}&index=1【抽奖页】</p>
+							</td>
 							<td>{{$a['mp_urllink']}}</td>
 							<td> {{date('Y/m/d H:i:s',$a['update_time'])}}</td>
 							<td>