libushang 3 týždňov pred
rodič
commit
8368c73dfe
1 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  1. 3 1
      routers/api/yst/daiban.py

+ 3 - 1
routers/api/yst/daiban.py

@@ -51,6 +51,7 @@ def index(
 ):
     logger.info(req)
 
+    '''
     if settings.IS_DEV and req.accessToken != '4356e0de-c26a-11ef-895f-0242ac140002':
         return {
             "errcode": 1,
@@ -62,6 +63,7 @@ def index(
             "errcode": 1,
             "errmsg": "accessToken异常"
         }
+    '''
 
     state = req.state
     applyerIdNum = req.sfzh
@@ -144,7 +146,7 @@ def new_record(data: dict):
     cid = data['sfzh']
     name = data['xm']
     
-    H5_HOST = "https://yjxp.mmsyjj.cn:8086"
+    H5_HOST = "https://yst.mmsyjj.cn:8086"
     if settings.IS_DEV:
         H5_HOST = "http://120.241.74.139:8086"