forked from Merack/fosuNet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
27 lines (21 loc) · 987 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env python
# _*_ coding:utf-8 _*_
# @Author: Merack
# @Email: [email protected]
baseLoginURL = 'http://10.10.9.4'
loginToURL = 'http://10.10.9.4/eportal/InterFace.do?method=login'
serviceLoginURL = 'http://10.10.9.2:8080/selfservice/module/scgroup/web/login_judge.jsf'
serviceIndexURl = 'http://10.10.9.2:8080/selfservice/module/scgroup/web/login_self.jsf'
deviceURl = 'http://10.10.9.2:8080/selfservice/module/webcontent/web/onlinedevice_list.jsf'
offlineURL = 'http://10.10.9.2:8080/selfservice/module/userself/web/userself_ajax.jsf?methodName=indexBean.kickUserBySelfForAjax'
header = {
"User-Agent": "Mozilla/5.0 (Linux; Android 9.0; MI 8 SE) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.119 Mobile Safari/537.36"
}
config_path = './config/'
config_name = 'config.ini'
dev_config_name = 'config.dev.ini'
"""
debug模式开关
debug模式下使用的配置文件是config.dev.ini, 该文件仅存在本地, 不会随Git提交到代码库
"""
debug = False