From c56e0a77b1f9dd732b785a6d8aed2e09da4ac257 Mon Sep 17 00:00:00 2001
From: wangzhibo <wangzhibo@shsening.com>
Date: 星期二, 28 九月 2021 16:55:41 +0800
Subject: [PATCH] get userid moved to index.js

---
 js/index.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/js/index.js b/js/index.js
index 59efba6..1b60270 100644
--- a/js/index.js
+++ b/js/index.js
@@ -18,6 +18,8 @@
     request = $.extend(request, haoutil.system.getRequest(window.top));
   }
 
+  mars3d.global_variables.userid = request?.userid || 2;
+
   var configfile = "config/config.json"; //榛樿鍦板潃
   if (request.config) {
     //url浼犲叆鍦板潃

--
Gitblit v1.9.1