1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- export class config {
- /**
- * 平台
- */
- public static Platform = {
- WEIXIN :"WEIXIN",
- TOUTIAO: "TOUTIAO",
- H5:"H5"
- }
- /**
- * 日志开关
- */
- public static LOG_OPEN:boolean = true
-
- /**
- * 测试开关
- */
- public static isTest:boolean = true
-
- /**
- * 缓存数据的key
- */
- public static stores_key = {
- USER_DATA: "USER_DATA",
- }
-
- /**
- * 测试域名
- */
- private static URL_DEBUG = {
- Dynamic:"http://",
- Static:"http://"
- }
-
-
- /**
- * 正式域名
- */
- private static URL_RELEASE = {
- Dynamic:"http://",
- Static:"http://"
- }
-
-
- /**
- * 域名
- */
- public static url_addr= {
- Dynamic:config.isTest?config.URL_DEBUG.Dynamic:config.URL_RELEASE.Dynamic, //动态接口
- Static:config.isTest?config.URL_DEBUG.Static:config.URL_RELEASE.Static //静态接口
- }
-
-
- /**
- * 接口
- */
- public static url_confg = {
- /**
- * 动态
- */
- Dynamic:{
-
- },
-
-
- /**
- * 静态
- */
- Static:{
-
- },
-
- StatesCode:{
- SUCCESS:10000,
- }
- }
-
- public static read_config = {
- colorList:['#000', '#666'],
- lineHeight:1.8,
- fontSizeList:[12,14,16,18,20,22,24]
- }
- }
|