xiaogang 3 年之前
父節點
當前提交
391cb6f81e
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      app/Http/Controllers/Api/UserController.php

+ 4 - 1
app/Http/Controllers/Api/UserController.php

xqd
@@ -786,7 +786,10 @@ class UserController extends Controller
 //        if(isset($request->user_id)){
 //
 //        }
-        $url = "https://".$_SERVER['HTTP_HOST'].'/web/register.html?invoce='.$user->ycode;
+
+
+//        $url = "https://".$_SERVER['HTTP_HOST'].'/web/register.html?invoce='.$user->ycode;
+        $url = "https://".$_SERVER['HTTP_HOST'].'/web/index.html?invoce='.$user->ycode.'&id='.$request->id;
         $res['appid'] = env("WEIXIN_OPEN_APPID");
         $res['url'] = $url;