init
This commit is contained in:
1
web/commons/constants/__init__.py
Normal file
1
web/commons/constants/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import *
|
21
web/commons/constants/material_task.py
Normal file
21
web/commons/constants/material_task.py
Normal file
@@ -0,0 +1,21 @@
|
||||
class MaterialTaskType:
|
||||
OTHER_ZHEJIANG = 601 # 浙江
|
||||
OTHER_GUANGZHOU = 602 # 广州
|
||||
OTHER_YUNNAN = 603 # 云南
|
||||
FUJIAN_DEPARTMENT = 701 # 住建厅
|
||||
OIL = 801 # 汽柴油
|
||||
|
||||
values = {
|
||||
OTHER_ZHEJIANG: '浙江',
|
||||
OTHER_GUANGZHOU: '广州',
|
||||
OTHER_YUNNAN: '云南',
|
||||
FUJIAN_DEPARTMENT: '住建厅',
|
||||
OIL: '汽柴油',
|
||||
}
|
||||
|
||||
|
||||
class MaterialTaskStatus:
|
||||
WAITING = 0
|
||||
DOING = 1
|
||||
DONE = 2
|
||||
FAILED = -1
|
16
web/commons/constants/mysteel.py
Normal file
16
web/commons/constants/mysteel.py
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
class PageType:
|
||||
REBAR_LIST = '福州建筑钢材价格行情'
|
||||
REBAR_DETAIL = '福州建筑钢材价格行情详情'
|
||||
PLATE_LIST = '福州中板价格行情'
|
||||
PLATE_DETAIL = '福州中板价格行情详情'
|
||||
SECTION_LIST = '福州型钢价格行情'
|
||||
SECTION_DETAIL = '福州型钢价格行情详情'
|
||||
SHAGANG_LIST = '沙钢调价信息'
|
||||
SHAGANG_DETAIL = '沙钢调价信息详情'
|
||||
SANGANG_LIST = '三钢调价信息'
|
||||
SANGANG_DETAIL = '三钢调价信息详情'
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user