config.py 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. """
  4. @Copyright (C) ansjer cop Video Technology Co.,Ltd.All rights reserved.
  5. @AUTHOR: ASJRD018
  6. @NAME: Ansjer
  7. @software: PyCharm
  8. @DATE: 2018/7/2 14:06
  9. @Version: python3.6
  10. @MODIFY DECORD:ansjer dev
  11. @file: Conf.py
  12. @Contact: chanjunkai@163.com
  13. """
  14. # 主要静态变量配置文件
  15. import os
  16. import datetime
  17. # 配置信息
  18. CONFIG_TEST = 'test'
  19. CONFIG_CN = 'cn'
  20. CONFIG_US = 'us'
  21. CONFIG_EUR = 'eur'
  22. SERVER_TYPE = os.environ.get('DJANGO_SETTINGS_MODULE')
  23. print(SERVER_TYPE)
  24. # 亚马逊的数据库DynamoDB的密钥
  25. AWS_DynamoDB_REGION = 'us-west-1'
  26. AWS_DynamoDB_ACCESS_KEY = 'AKIA2E67UIMD6X23FEBG'
  27. AWS_DynamoDB_SECRET_KEY = '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'
  28. # 阿里云发邮箱
  29. ALY_SES_ACCESS_NAME = 'message@dvema.com'
  30. ALY_SES_ACCESS_PAW = 'SMtp123456'
  31. ALY_SES_ACCESS_REPLYTO = '***'
  32. # 发送邮件邮箱
  33. SES_COMPANY_EMAIL = 'user_server@nsst.com'
  34. AWS_SES_ACCESS_ID = 'AKIAJKPU23EU5QWHFPKQ'
  35. AWS_SES_ACCESS_SECRET = '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'
  36. AWS_SES_ACCESS_REGION = 'us-east-1'
  37. AWS_SES_ACCESS_REGION_WEST = 'us-west-1'
  38. AWS_BUCKET = 'ansjertest'
  39. # 设定离线时间为5分钟
  40. OFF_LINE_TIME_DELTA = 5
  41. # token的secret
  42. OAUTH_ACCESS_TOKEN_SECRET = 'a+jbgnw%@1%zy^=@dn62%'
  43. OAUTH_REFRESH_TOKEN_SECRET = 'r+jbgnw%@1%zy^=@dn62%'
  44. # access_token超时
  45. # OAUTH_ACCESS_TOKEN_TIME = datetime.timedelta(hours=1)
  46. OAUTH_ACCESS_TOKEN_TIME = datetime.timedelta(days=30)
  47. # refresh_token超时
  48. OAUTH_REFRESH_TOKEN_TIME = datetime.timedelta(days=30)
  49. # 腾讯验证,短信发送
  50. TX_PHONE_APP_ID = '1400052907'
  51. TX_PHONE_APP_KEY = '7705976ca6e85fe7b86d6bc2d11f7783'
  52. # 验证码超时时间
  53. AuthCode_Expire = 600
  54. RTMP_PUSH_URL = 'http://13.56.215.252:8091/hls'
  55. # 根路径
  56. BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
  57. ADDR_URL = []
  58. # uid token key
  59. UID_TOKEN_KEY = 'c+565*j@%^'
  60. UNICODE_ASCII_CHARACTER_SET = ('abcdefghijklmnopqrstuvwxyz'
  61. 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  62. '0123456789')
  63. # oss param
  64. OSS_STS_ACCESS_KEY = 'LTAIyMkGfEdogyL9'
  65. OSS_STS_ACCESS_SECRET = '71uIjpsqVOmF7DAITRyRuc259jHOjO'
  66. OSS_ROLE_ARN = 'acs:ram::1901342792446414:role/stsoss'
  67. # aws api key
  68. AWS_ACCESS_KEY_ID = ['AKIA2MMWBR4DSFG67DTG','AKIA2E67UIMD45Y3HL53'] #0国内, 1国外
  69. AWS_SECRET_ACCESS_KEY = ['aI9gxcAKPmiGgPy9axrtFKzjYGbvpuytEX4xWweL','ckYLg4Lo9ZXJIcJEAKkzf2rWvs8Xth1FCjqiAqUw']
  70. AWS_ARN = ['arn:aws-cn:s3','arn:aws:s3']
  71. # MQTT主题名
  72. SMART_SCENE_TOPIC_NAME = 'loocam/gateway_sensor/smart_scene/{}'
  73. #尚云服务器CRCKey
  74. CRCKey = {'AUS':'CRCKey', 'ACN':'CRCKey'} #{平台名:CRCKey值}
  75. # 各个服务器域名
  76. SERVER_DOMAIN_US = 'http://www.dvema.com/'
  77. SERVER_DOMAIN_CN = 'http://www.zositechc.cn/'
  78. SERVER_DOMAIN_EUR = 'http://www.zositeche.com/'
  79. SERVER_DOMAIN_TEST = 'http://test.zositechc.cn/'
  80. # 不同环境配置
  81. # 本地
  82. if SERVER_TYPE == 'Ansjer.local_config.local_settings':
  83. from Ansjer.local_config.config_local import *
  84. # 美国
  85. elif SERVER_TYPE == 'Ansjer.us_config.test_settings':
  86. from Ansjer.us_config.config_test import *
  87. elif SERVER_TYPE == 'Ansjer.us_config.formal_settings':
  88. from Ansjer.us_config.config_formal import *
  89. # 国内
  90. elif SERVER_TYPE == 'Ansjer.cn_config.formal_settings':
  91. from Ansjer.cn_config.config_formal import *
  92. elif SERVER_TYPE == 'Ansjer.cn_config.test_settings':
  93. from Ansjer.cn_config.config_test import *
  94. DEVICE_TYPE = {
  95. 0: 'UNKOWN',
  96. 1: 'DVR',
  97. 2: 'NVR',
  98. 3: 'POENVR',
  99. 4: 'WIRELESSNVR',
  100. 5: 'POEIPC',
  101. 6: 'BOLTIPC',
  102. 7: 'IPC',
  103. 8: 'KAPIANJI',
  104. 9: 'FISHEYE',
  105. 10: 'C512',
  106. 11: 'C611',
  107. 12: 'C612',
  108. 13: 'C199',
  109. 14: 'C190',
  110. 15: 'C199_PRO',
  111. 17: 'C289',
  112. 18: 'C308',
  113. 10001: 'DVRPTZ'
  114. }
  115. APP_FREQUENT = {
  116. 0: 'UNKOWN',
  117. 1: '每天',
  118. 2: '三天',
  119. 3: '一周',
  120. 4: '两周',
  121. 5: '一个月',
  122. 6: '一个月以上',
  123. }
  124. # Iot Core国外
  125. AWS_IOT_SES_ACCESS_FOREIGN_ID = 'AKIA2E67UIMD62VUBV5I'
  126. AWS_IOT_SES_ACCESS_FOREIGN_SECRET = '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'
  127. AWS_IOT_SES_ACCESS_FOREIGN_REGION_AMERICA = 'us-east-1'
  128. AWS_IOT_SES_ACCESS_FOREIGN_REGION_ASIA = 'ap-southeast-1'
  129. AWS_IOT_SES_ACCESS_FOREIGN_REGION_EUROPE = 'eu-west-1'
  130. AWS_IOT_SES_ACCESS_FOREIGN_ROLE = 'arn:aws:iam::697864307463:role/Ansjer_Iot_Admin'
  131. # Iot 获取上传S3日志 key国外
  132. AWS_IOT_GETS3_PULL_FOREIGN_ID = 'AKIA2E67UIMDZSLTUD22'
  133. AWS_IOT_GETS3_PULL_FOREIGN_SECRET = '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'
  134. # Iot 获取上传S3日志 key国内
  135. AWS_IOT_GETS3_PULL_CHINA_ID = 'AKIA2MMWBR4D3F4IEZE5'
  136. AWS_IOT_GETS3_PULL_CHINA_SECRET = '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'
  137. # Iot Core国内
  138. AWS_IOT_SES_ACCESS_CHINA_ID = 'AKIA2MMWBR4DUUYPCFNJ'
  139. AWS_IOT_SES_ACCESS_CHINA_SECRET = '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'
  140. AWS_IOT_SES_ACCESS_CHINA_REGION = 'cn-northwest-1'
  141. # IAM角色: https://console.amazonaws.cn/iamv2/home#/roles/details/Ansjer_Iot_Admin?section=permissions
  142. AWS_IOT_SES_ACCESS_CHINA_ROLE = 'arn:aws-cn:iam::713816116999:role/service-role/Ansjer_Iot_Admin'
  143. IOT_HOST = {
  144. 1: 'a250bbr0p9u7as-ats.iot.cn-northwest-1.amazonaws.com.cn',
  145. 2: 'a2rqy12o004ad8-ats.iot.ap-southeast-1.amazonaws.com',
  146. 3: 'a2rqy12o004ad8-ats.iot.eu-west-1.amazonaws.com',
  147. 4: 'a2rqy12o004ad8-ats.iot.us-east-1.amazonaws.com'
  148. }
  149. ONLINE_DEVICE = 1000000
  150. SALES = {
  151. 2020: [
  152. {
  153. 'name': 'United States',
  154. 'value': [3768901, 23.337, '美国']
  155. },
  156. {
  157. 'name': 'Japan',
  158. 'value': [1886988, 9.027, '日本']
  159. },
  160. {
  161. 'name': 'Russia',
  162. 'value': [1940038, 7.923, '俄国']
  163. },
  164. {
  165. 'name': 'Germany',
  166. 'value': [1319651, 6.253, '德国']
  167. },
  168. {
  169. 'name': 'France',
  170. 'value': [1291157, 5.825, '法国']
  171. },
  172. {
  173. 'name': 'United Kingdom',
  174. 'value': [1041917, 4.567, '英国']
  175. },
  176. {
  177. 'name': 'Italy',
  178. 'value': [859811, 3.875, '意大利']
  179. }
  180. ],
  181. 2019: [
  182. {
  183. 'name': 'United States',
  184. 'value': [2768900, 37.374, '美国']
  185. },
  186. {
  187. 'name': 'Japan',
  188. 'value': [1086988, 14.672, '日本']
  189. },
  190. {
  191. 'name': 'Russia',
  192. 'value': [940038, 12.689, '俄国']
  193. },
  194. {
  195. 'name': 'Germany',
  196. 'value': [919651, 12.413, '德国']
  197. },
  198. {
  199. 'name': 'France',
  200. 'value': [691157, 9.329, '法国']
  201. },
  202. {
  203. 'name': 'United Kingdom',
  204. 'value': [541917, 7.315, '英国']
  205. },
  206. {
  207. 'name': 'Italy',
  208. 'value': [459811, 6.206, '意大利']
  209. }
  210. ],
  211. 2018: [
  212. {
  213. 'name': 'United States',
  214. 'value': [2068912, 32.329, '美国']
  215. },
  216. {
  217. 'name': 'Japan',
  218. 'value': [1007988, 15.751, '日本']
  219. },
  220. {
  221. 'name': 'Germany',
  222. 'value': [909653, 14.214, '德国']
  223. },
  224. {
  225. 'name': 'Russia',
  226. 'value': [900038, 14.064, '俄国']
  227. },
  228. {
  229. 'name': 'France',
  230. 'value': [601158, 9.394, '法国']
  231. },
  232. {
  233. 'name': 'United Kingdom',
  234. 'value': [501920, 7.843, '英国']
  235. },
  236. {
  237. 'name': 'Italy',
  238. 'value': [409813, 6.404, '意大利']
  239. }
  240. ],
  241. 2017: [
  242. {
  243. 'name': 'United States',
  244. 'value': [1668900, 30.914, '美国']
  245. },
  246. {
  247. 'name': 'Japan',
  248. 'value': [906988, 16.800, '日本']
  249. },
  250. {
  251. 'name': 'Germany',
  252. 'value': [809651, 14.998, '德国']
  253. },
  254. {
  255. 'name': 'Russia',
  256. 'value': [800038, 14.820, '俄国']
  257. },
  258. {
  259. 'name': 'France',
  260. 'value': [501157, 9.283, '法国']
  261. },
  262. {
  263. 'name': 'United Kingdom',
  264. 'value': [401920, 7.445, '英国']
  265. },
  266. {
  267. 'name': 'Italy',
  268. 'value': [309822, 5.739, '意大利']
  269. }
  270. ],
  271. 2016: [
  272. {
  273. 'name': 'United States',
  274. 'value': [1468900, 31.943, '美国']
  275. },
  276. {
  277. 'name': 'Japan',
  278. 'value': [806988, 17.549, '日本']
  279. },
  280. {
  281. 'name': 'Germany',
  282. 'value': [709651, 15.432, '德国']
  283. },
  284. {
  285. 'name': 'Russia',
  286. 'value': [700038, 15.223, '俄国']
  287. },
  288. {
  289. 'name': 'France',
  290. 'value': [401157, 8.724, '法国']
  291. },
  292. {
  293. 'name': 'United Kingdom',
  294. 'value': [301917, 6.566, '英国']
  295. },
  296. {
  297. 'name': 'Italy',
  298. 'value': [209811, 4.562, '意大利']
  299. }
  300. ]
  301. }
  302. # type =2
  303. JPUSH_CONFIG = {
  304. 'com.ansjer.accloud_ab': {
  305. 'Key': 'f0dc047e5e53fd14199de5b0',
  306. 'Secret': 'aa7f7db33e9f0a7f3871aa1c'},
  307. 'com.ansjer.adcloud_ab': {
  308. 'Key': '76d97b535185114985608234',
  309. 'Secret': 'c9a92b301043cc9c52778692'},
  310. 'com.ansjer.zccloud_ab': {
  311. 'Key': 'd9924f56d3cc7c6017965130',
  312. 'Secret': '869d832d126a232f158b5987'},
  313. 'com.ansjer.loocamccloud_ab': {
  314. 'Key': 'd1cc44797b4642b0e05304fe',
  315. 'Secret': 'c3e8b4ca8c576de61401e56a'},
  316. 'com.ansjer.loocamdcloud_ab': {
  317. 'Key': '76d97b535185114985608234',
  318. 'Secret': 'c9a92b301043cc9c52778692'},
  319. 'com.ansjer.zccloud_a': {
  320. 'Key': '57de2a80d68bf270fd6bdf5a',
  321. 'Secret': '3d354eb6a0b49c2610decf42'},
  322. 'com.ansjer.accloud_a': {
  323. 'Key': 'ff95ee685f49c0dc4013347b',
  324. 'Secret': 'de2c20959f5516fdeeafe78e'},
  325. 'com.ansjer.adcloud_a': {
  326. 'Key': '2e47eb1aee9b164460df3668',
  327. 'Secret': 'b9137d8d684bc248f1809b6d'},
  328. 'com.ansjer.loocamccloud_a': {
  329. 'Key': '23c9213215c7ca0ec945629b',
  330. 'Secret': '81e4b1e859cc8387e2e6c431'},
  331. 'com.ansjer.loocamdcloud_a': {
  332. 'Key': '1dbdd60a16e9892d6f68a073',
  333. 'Secret': '80a97690e7e043109059b403'},
  334. 'com.ansjer.customizedb_a': {
  335. 'Key': '9d79630aa49adfa291fe2568',
  336. 'Secret': '4d8ff52f88136561875a0212'},
  337. 'com.ansjer.customizedd_a': {
  338. 'Key': '8fc4f495685bde53341ee25d',
  339. 'Secret': 'f1da11fa466509fa2670fb66'},
  340. 'com.ansjer.customizeda_a': {
  341. 'Key': 'aad8a02b1c4e82b0ef49c559',
  342. 'Secret': '8798cc7cd63225f13660421a'},
  343. 'com.ansjer.customizedc_a': {
  344. 'Key': 'ecdde95cd272f410ee029139',
  345. 'Secret': '9ddca1e92bfa331126fd8826'},
  346. 'com.ansjer.customizedf_a': {
  347. 'Key': '6ddbfb8fd7a0984dfba74a00',
  348. 'Secret': '971ee5c5facfbe76cb31a686'},
  349. }
  350. # type =1
  351. FCM_CONFIG = {
  352. 'com.ansjer.zccloud_a': 'AAAAb9YP3rk:APA91bHu8u-CTpcd0g6lKPo0WNVqCi8jZub1cPPbSAY9AucT1HxlF65ZDUko9iG8q2ch17bwu9YWHpK1xI1gHSRXCslLvZlXEmHZC0AG3JKg15XuUvlFKACIajUFV-pOeGRT8tM6-31I',
  353. 'com.ansjer.loocamccloud_a': 'AAAAb9YP3rk:APA91bFCgd-kbVmpK4EVpfdHH_PJZQCYTkOGnTZdIuBWEz2r7aMRsJYHOH3sB-rwcbaRWgnufTyjX9nGQxb6KxQbWVk4ah_H-M3IqGh6Mb60WQQAuR33V6g_Jes5pGL6ViuIxGHqVMaR',
  354. 'com.ansjer.loocamdcloud_a': 'AAAAb9YP3rk:APA91bGw2I2KMD4i-5T7nZO_wB8kuAOuqgyqe5rxmY-W5qkpYEx9IL2IfmC_qf6B_xOyjIDDSjckvMo-RauN__SEoxvAkis7042GRkoKpw7cjZ_H8lC-d50PC0GclPzccrOGFusyKbFY',
  355. 'com.ansjer.customizedb_a': 'AAAAb9YP3rk:APA91bE7kI4vcm-9h_CJNFlOZfc-xwP4Btn6AnjOrwoKV6fgYN7fdarkO76sYxVZiAbDnxsFfOJyP7vQfwyan6mdjuyD5iHdt_XgO22VqniC0vA1V4GJiCS8Tp7LxIX8JVKZl9I_Powt',
  356. 'com.ansjer.customizeda_a': 'AAAAb9YP3rk:APA91bF0HzizVWDc6dKzobY9fsaKDK4veqkOZehDXshVXs8pEEvNWjR_YWbhP60wsRYCHCal8fWN5cECVOWNMMzDsfU88Ty2AUl8S5FtZsmeDTkoGntQOswBr8Ln7Fm_LAp1VqTf9CpM',
  357. 'com.ansjer.customizedd_a': 'AAAAb9YP3rk:APA91bHkxOozJWBrlv3eNT0PgwosYENI9aM4Zuzd418cX-iKkpa1zFNC5MkNDKApx1KH4fhmAfaJ6IMRZ0nj5GIxCpstDYCaZWwgC7-etqfSxG5JAq8LOwJx0o_1tUZqwjIic8ztsg0o',
  358. 'com.ansjer.adcloud_a': 'AAAAb9YP3rk:APA91bFm06w8b9OKQ0gz0iaWFuRqRIkvgAz6z7Gp3dBU_X-LNGJQd1hc1QR2W7QzBglF8SHtERA45a2lbdLRa5qv7hxfd6W_sJLBK7dA8jklsOQBvy505oUzTwMKWy4TwH-exps9KrhO',
  359. 'com.ansjer.accloud_a': 'AAAAb9YP3rk:APA91bFm06w8b9OKQ0gz0iaWFuRqRIkvgAz6z7Gp3dBU_X-LNGJQd1hc1QR2W7QzBglF8SHtERA45a2lbdLRa5qv7hxfd6W_sJLBK7dA8jklsOQBvy505oUzTwMKWy4TwH-exps9KrhO',
  360. 'com.ansjer.zccloud_ab': 'AAAAb9YP3rk:APA91bHu8u-CTpcd0g6lKPo0WNVqCi8jZub1cPPbSAY9AucT1HxlF65ZDUko9iG8q2ch17bwu9YWHpK1xI1gHSRXCslLvZlXEmHZC0AG3JKg15XuUvlFKACIajUFV-pOeGRT8tM6-31I',
  361. 'com.ansjer.customizedc_a': 'AAAAb9YP3rk:APA91bHu8u-CTpcd0g6lKPo0WNVqCi8jZub1cPPbSAY9AucT1HxlF65ZDUko9iG8q2ch17bwu9YWHpK1xI1gHSRXCslLvZlXEmHZC0AG3JKg15XuUvlFKACIajUFV-pOeGRT8tM6-31I',
  362. 'com.ansjer.customizedf_a': 'AAAAb9YP3rk:APA91bFm06w8b9OKQ0gz0iaWFuRqRIkvgAz6z7Gp3dBU_X-LNGJQd1hc1QR2W7QzBglF8SHtERA45a2lbdLRa5qv7hxfd6W_sJLBK7dA8jklsOQBvy505oUzTwMKWy4TwH-exps9KrhO',
  363. }
  364. APNS_CONFIG = {
  365. 'com.ansjer.loocamccloud': {
  366. 'pem_path': 'AnsjerPush/file/apns_pem/lcc-dev.pem',
  367. },
  368. 'com.ansjer.zosidcloud': {
  369. 'pem_path': 'AnsjerPush/file/apns_pem/zosidcloud-dev.pem',
  370. },
  371. 'com.ansjer.customizedb': {
  372. 'pem_path': 'AnsjerPush/file/apns_pem/customizedb-dev.pem',
  373. },
  374. 'com.ansjer.customizeda': {
  375. 'pem_path': 'AnsjerPush/file/apns_pem/customizeda-dev.pem',
  376. },
  377. 'com.ansjer.zccloud': {
  378. 'pem_path': 'Ansjer/file/apns_pem/zccloud-dev.pem',
  379. },
  380. 'com.ansjer.accloud': {
  381. 'pem_path': 'AnsjerPush/file/apns_pem/accloud-dev.pem',
  382. },
  383. 'com.ansjer.customizedc':{
  384. 'pem_path': 'AnsjerPush/file/apns_pem/customizedc.pem',
  385. },
  386. 'com.ansjer.customizede': {
  387. 'pem_path': 'AnsjerPush/file/apns_pem/customizede.pem',
  388. },
  389. 'com.ansjer.customizedh': {
  390. 'pem_path': 'AnsjerPush/file/apns_pem/customizedh.pem',
  391. },
  392. }
  393. APNS_MODE = 'dev'
  394. SERVER_TYPE = os.environ.get('DJANGO_SETTINGS_MODULE')
  395. JPUSH_CODE = {
  396. -1: '只库存不推送',
  397. 200: '推送成功',
  398. 400: '错误请求',
  399. 401: '没有验证信息或者验证失败',
  400. 403: '请求被拒绝',
  401. 404: '资源不存在,请求的用户的不存在,请求的格式不被支持',
  402. 405: '请求方法不合适',
  403. 410: '请求的资源已下线',
  404. 429: '请求超出了频率限制',
  405. 500: '极光内部服务错误',
  406. 502: '业务服务器下线了或者正在升级。请稍后重试',
  407. 503: '服务暂时失效',
  408. 504: '代理超时'
  409. }
  410. APNS_CODE = {
  411. -1: '只库存不推送',
  412. 200: '推送成功',
  413. 400: '请求有问题',
  414. 403: '证书或Token有问题',
  415. 405: '请求方式不正确, 只支持POST请求',
  416. 410: '设备的Token与证书不一致'
  417. }
  418. APP_TYPE = {
  419. 1: 'ios',
  420. 2: 'android'
  421. }
  422. # 联通Unicom config
  423. # 应用地址,请向开发人员索取
  424. unicomAppUrl = 'https://chinaunicom-iot.unimip.cn'
  425. # 应用id,请向开发人员创建应用,分配appId
  426. unicomAppId = 'LNO7ojB7mZU5ep9IuiHvygVWbwaO9vt0'
  427. # 应用密匙,请向开发人员创建应用,分配appSecret
  428. unicomAppSecret = 'p8MT1CS4QAVl0xb4cp7VOCgMvtQp2O43'
  429. # 租户/产品ID,请向开发人员索取
  430. unicomTenantId = '1469181295663300608'
  431. # 密码加密密匙,请向开发人员索取
  432. unicomEncodeKey = 'uBdUx82vPHkDKb284d7NkjFoNcKWBuka'
  433. # 密码加密参数,请向开发人员索取
  434. unicomIvKey = 'oCRU0D1wKfBlNeTz'
  435. # 用户名,如无请联系客户经理开通
  436. unicomUserName = 'zh-zhasjdz'
  437. # 登录密码,如无请联系客户经理
  438. unicomPassword = 'XoROL1vCl5@_'
  439. # 回调签名验证加密密匙,请向开发人员索取
  440. unicomPushKey = 'NVVDQMBSOJTXA'