bianjunhui 1 سال پیش
والد
کامیت
e333d8439b

+ 2 - 0
application/admin/controller/Message.php

@@ -203,6 +203,8 @@ class Message extends Backend
         $list[12]['name']='登录注册';
         $list[13]['id']=13;
         $list[13]['name']='签到';
+        $list[14]['id']=14;
+        $list[14]['name']='首页';
         $i=$this->request->request('keyValue');
         if ($i) {
             return json(['list' => $list[$i], 'total' => count($list[$i])]);

+ 1 - 1
application/api/controller/Apmessage.php

@@ -187,7 +187,7 @@ class Apmessage extends Api
                     if($re){
                         $msg='success';
                         if($list['coupon']){
-                            $msg = 'New coupons are in your account! Shop now!';
+                            $msg = 'Coupons will be in your account within 5mins!';
                         }
                         $this->success($msg);
                     }else{

+ 2 - 1
application/api/controller/Message.php

@@ -175,6 +175,7 @@ class Message extends Api
                     $jobData['message_id']=$post['message_id'];
                     $jobData['coupon']=$list['coupon'];
                     $jobData['url']='https://www.westkiss.com';
+                    //$jobData['url']='https://www.sukerle.com';
                     $isPushed = Queue::push($jobname , $jobData , $jobQueueName );
                     if ($isPushed !== false) {
                         $isPushedres=true;
@@ -186,7 +187,7 @@ class Message extends Api
                     if($re){
                         $msg='success';
                         if($list['coupon']){
-                            $msg = 'New coupons are in your account! Shop now!';
+                            $msg = 'Coupons will be in your account within 5mins!';
                         }
                         $this->success($msg);
                     }else{

+ 1 - 1
public/assets/js/backend/message.js

@@ -32,7 +32,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                         {field: 'template_name', title: __('Template_name'), operate: 'LIKE'},
                         {field: 'group_id', title: __('Group_id')},
                         {field: 'group_name', title: __('Group_name'), operate: 'LIKE'},
-                        {field: 'type', title: __('Type'), searchList: {0: __('url'), 2: __('订单列表'), 3: __('商品详情'), 4: __('购物车'), 5: __('消息列表'), 1: __('商品列表'), 6: __('explore首页'), 7: __('explore详情'), 8: __('我的积分'), 9: __('koc'), 10: __('vip Center'), 11: __('我的优惠券'), 12: __('登录注册'), 13: __('签到')}, operate: false, formatter: Table.api.formatter.status,},
+                        {field: 'type', title: __('Type'), searchList: {0: __('url'), 2: __('订单列表'), 3: __('商品详情'), 4: __('购物车'), 5: __('消息列表'), 1: __('商品列表'), 6: __('explore首页'), 7: __('explore详情'), 8: __('我的积分'), 9: __('koc'), 10: __('vip Center'), 11: __('我的优惠券'), 12: __('登录注册'), 13: __('签到'), 14: __('首页')}, operate: false, formatter: Table.api.formatter.status,},
                         {field: 'counts', title: __('点击次数')},
                         {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
                         {field: 'sendtime', title: __('Sendtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},