From 99dfeb5fc86bce593a5d3f43f45c26eedc00ab0a Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期二, 10 九月 2024 16:28:54 +0800
Subject: [PATCH] bug

---
 assets/js/login.js |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/assets/js/login.js b/assets/js/login.js
index e685eab..751730f 100644
--- a/assets/js/login.js
+++ b/assets/js/login.js
@@ -1,7 +1,7 @@
 import {
   setSessionGuid
 } from "./userAction"
-
+const app = getApp();
 
 export const loginInfo = (app, callback) => {
   if (app.config.appId == 27) {
@@ -57,6 +57,10 @@
                         getUserInfo(app, callback, res.token)
                         // 璁板綍鐧诲綍缁熻
                         setSessionGuid()
+                        //鐧诲綍璁板綍绉垎
+                        app.MG.app.creatUserBehavior({
+                          refCode: "sign"
+                        })
                       } else {
                         console.log(res);
                         callback(false)
@@ -85,7 +89,6 @@
     })
   }
 }
-
 // 鑾峰彇鐧诲綍鐢ㄦ埛韬唤
 const getUserInfo = (app, callback, token) => {
   app.MG.identity.getCurrentAppUser().then(res => {

--
Gitblit v1.9.1