quguofeng 1 year ago
parent
commit
d0fcf2c421
1 changed files with 6 additions and 6 deletions
  1. 6 6
      application/common/model/Apply.php

+ 6 - 6
application/common/model/Apply.php

@@ -9,13 +9,13 @@ use think\Model;
 class Apply extends Model
 {
 
-    
 
-    
+
+
 
     // 表名
     protected $name = 'apply';
-    
+
     // 自动写入时间戳字段
     protected $autoWriteTimestamp = 'integer';
 
@@ -72,11 +72,11 @@ class Apply extends Model
                 'value'=>$time
             ],
         ];
-        (new \app\api\controller\Common())->sendWechatMessage($user_name['open_id'],'SDrPJvTOgm03PnQHibVlguD3lra3nK9pknojcMjSXq8',$data,"http://xiangduilun.hdlkeji.com/h5/#/pages/xiaoxi/shenqing-me");
+        (new \app\api\controller\Common())->sendWechatMessage($user_name['open_id'],'SDrPJvTOgm03PnQHibVlguD3lra3nK9pknojcMjSXq8',$data,'https://'.$_SERVER['HTTP_HOST'].'/h5/#/pages/xiaoxi/shenqing-me');
     }
-    
 
-    
+
+