diff --git a/src/app/shop/controller/Message.php b/src/app/shop/controller/Message.php index 90feb905f..42a03f521 100644 --- a/src/app/shop/controller/Message.php +++ b/src/app/shop/controller/Message.php @@ -46,7 +46,7 @@ class Message extends BaseShop $weapp_config = ( new WeappConfig() )->getWeappConfig($this->site_id)[ 'data' ][ 'value' ]; $this->assign('weapp_config', $weapp_config); - + // 牛云短信余额查询 if (addon_is_exit('niusms', $this->site_id)) { $sms_config = ( new NiuSmsConfig() )->getSmsConfig($this->site_id)[ 'data' ]; if ($sms_config[ 'is_use' ]) { diff --git a/src/app/shop/view/message/lists.html b/src/app/shop/view/message/lists.html index f6b539a0e..11178a56e 100644 --- a/src/app/shop/view/message/lists.html +++ b/src/app/shop/view/message/lists.html @@ -1,5 +1,3 @@ - - -
+ {if isset($sms_num) && $sms_num < 500} +
+ + 当前短信条数就剩{$sms_num}条了,赶快去充值吧! + 立即充值 +
+ {/if} + {empty name="wechat_config"}
@@ -61,7 +66,7 @@
-
+
买家消息
@@ -113,7 +118,7 @@
-
+
卖家通知 消息接收设置>>>
@@ -162,7 +167,6 @@
- - diff --git a/src/app/shop/view/message/smsrecords.html b/src/app/shop/view/message/smsrecords.html index f15015a51..5ae544b88 100644 --- a/src/app/shop/view/message/smsrecords.html +++ b/src/app/shop/view/message/smsrecords.html @@ -1,9 +1,5 @@ - - - - -
+
@@ -46,7 +42,6 @@
-