Ver Fonte

修改充值回调后置顶文案

songdb há 5 anos atrás
pai
commit
a5f35b056c

Diff do ficheiro suprimidas por serem muito extensas
+ 16 - 2
app/Http/Controllers/Wap/Pay/OrdersController.php


+ 13 - 0
app/Modules/OfficialAccount/Services/OfficialAccountService.php

@@ -658,4 +658,17 @@ class OfficialAccountService
     {
         return OfficialAccount::getBusinessChannelData($channels, $distribution_channel_name, $official_account_name,$isAll);
     }
+
+    /**
+     * 获取置顶地址
+     */
+    static function getTopUrl($service_type_info = 2)
+    {
+        if($service_type_info == 1)
+        {
+            return 'https://help.'. env('WECHAT_CUSTOM_HOST') .'.com/top2.html"';
+        }else{
+            return 'https://help.'. env('WECHAT_CUSTOM_HOST') .'.com/top.html"';
+        }
+    }
 }