From 2ee8ddb1ecac7df4198e54e08ec7f22daf4b07c0 Mon Sep 17 00:00:00 2001
From: QYF-GitLab1 <1940665526@qq.com>
Date: 星期五, 03 一月 2025 16:57:38 +0800
Subject: [PATCH] 111

---
 assets/js/middleGround/api/job.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/assets/js/middleGround/api/job.js b/assets/js/middleGround/api/job.js
index 5e455cf..97f9df3 100644
--- a/assets/js/middleGround/api/job.js
+++ b/assets/js/middleGround/api/job.js
@@ -14,7 +14,7 @@
   },
 
   newSession(data) {
-    let token = toolClass.getCookie(tokenKey);
+    let token = wx.getStorageSync(tokenKey) ? wx.getStorageSync(tokenKey) : ''
     return request({
       url: token ? "/job/api/AppUserNewSession" : "/job/api/NewSession",
       method: "post",
@@ -22,7 +22,7 @@
     });
   },
 
-  newJobWithApiNewEvent(data){
+  newJobWithApiNewEvent(data) {
     return request({
       url: "/job/api/NewJobWithApiNewEvent",
       method: "post",

--
Gitblit v1.9.1