Commit b7c71cfe97108698642c04dcdfd648b61221e692

Authored by lixi
1 parent 8bca5483

更新部分基础资料获取方法

Too many changes to show.

To preserve performance only 4 of 11 files are displayed.

config/api/__init__.py 0 → 100644
config/api/sy/__init__.py 0 → 100644
config/api/sy/address.py 0 → 100644
  1 +data={
  2 + "code": "200",
  3 + "data": [
  4 + {
  5 + "cityCode": "028",
  6 + "created": "2017-05-27 23:42:37",
  7 + "id": 510104,
  8 + "lat": "30.65614",
  9 + "levelType": 3,
  10 + "lng": "104.08347",
  11 + "mergerName": "四川省,成都市,锦江区",
  12 + "modified": "2017-06-15 12:42:56",
  13 + "name": "锦江区",
  14 + "parentId": 510100,
  15 + "pinyin": "Jinjiang",
  16 + "shortName": "锦江",
  17 + "shortPy": "JJ",
  18 + "yn": True
  19 + },
  20 + {
  21 + "cityCode": "028",
  22 + "created": "2017-05-27 23:42:37",
  23 + "id": 510105,
  24 + "lat": "30.67387",
  25 + "levelType": 3,
  26 + "lng": "104.06151",
  27 + "mergerName": "四川省,成都市,青羊区",
  28 + "modified": "2017-06-15 12:42:56",
  29 + "name": "青羊区",
  30 + "parentId": 510100,
  31 + "pinyin": "Qingyang",
  32 + "shortName": "青羊",
  33 + "shortPy": "QY",
  34 + "yn": True
  35 + },
  36 + {
  37 + "cityCode": "028",
  38 + "created": "2017-05-27 23:42:37",
  39 + "id": 510106,
  40 + "lat": "30.69126",
  41 + "levelType": 3,
  42 + "lng": "104.05114",
  43 + "mergerName": "四川省,成都市,金牛区",
  44 + "modified": "2017-06-15 12:42:56",
  45 + "name": "金牛区",
  46 + "parentId": 510100,
  47 + "pinyin": "Jinniu",
  48 + "shortName": "金牛",
  49 + "shortPy": "JN",
  50 + "yn": True
  51 + },
  52 + {
  53 + "cityCode": "028",
  54 + "created": "2017-05-27 23:42:37",
  55 + "id": 510107,
  56 + "lat": "30.64235",
  57 + "levelType": 3,
  58 + "lng": "104.04303",
  59 + "mergerName": "四川省,成都市,武侯区",
  60 + "modified": "2017-06-15 12:42:56",
  61 + "name": "武侯区",
  62 + "parentId": 510100,
  63 + "pinyin": "Wuhou",
  64 + "shortName": "武侯",
  65 + "shortPy": "WH",
  66 + "yn": True
  67 + },
  68 + {
  69 + "cityCode": "028",
  70 + "created": "2017-05-27 23:42:37",
  71 + "id": 510108,
  72 + "lat": "30.65993",
  73 + "levelType": 3,
  74 + "lng": "104.10193",
  75 + "mergerName": "四川省,成都市,成华区",
  76 + "modified": "2017-06-15 12:42:56",
  77 + "name": "成华区",
  78 + "parentId": 510100,
  79 + "pinyin": "Chenghua",
  80 + "shortName": "成华",
  81 + "shortPy": "CH",
  82 + "yn": True
  83 + },
  84 + {
  85 + "cityCode": "028",
  86 + "created": "2017-05-27 23:42:37",
  87 + "id": 510112,
  88 + "lat": "30.55658",
  89 + "levelType": 3,
  90 + "lng": "104.27462",
  91 + "mergerName": "四川省,成都市,龙泉驿区",
  92 + "modified": "2017-06-15 12:42:56",
  93 + "name": "龙泉驿区",
  94 + "parentId": 510100,
  95 + "pinyin": "Longquanyi",
  96 + "shortName": "龙泉驿",
  97 + "shortPy": "LQY",
  98 + "yn": True
  99 + },
  100 + {
  101 + "cityCode": "028",
  102 + "created": "2017-05-27 23:42:37",
  103 + "id": 510113,
  104 + "lat": "30.87841",
  105 + "levelType": 3,
  106 + "lng": "104.251",
  107 + "mergerName": "四川省,成都市,青白江区",
  108 + "modified": "2017-06-15 12:42:56",
  109 + "name": "青白江区",
  110 + "parentId": 510100,
  111 + "pinyin": "Qingbaijiang",
  112 + "shortName": "青白江",
  113 + "shortPy": "QBJ",
  114 + "yn": True
  115 + },
  116 + {
  117 + "cityCode": "028",
  118 + "created": "2017-05-27 23:42:37",
  119 + "id": 510114,
  120 + "lat": "30.82314",
  121 + "levelType": 3,
  122 + "lng": "104.15921",
  123 + "mergerName": "四川省,成都市,新都区",
  124 + "modified": "2017-06-15 12:42:56",
  125 + "name": "新都区",
  126 + "parentId": 510100,
  127 + "pinyin": "Xindu",
  128 + "shortName": "新都",
  129 + "shortPy": "XD",
  130 + "yn": True
  131 + },
  132 + {
  133 + "cityCode": "028",
  134 + "created": "2017-05-27 23:42:37",
  135 + "id": 510115,
  136 + "lat": "30.68444",
  137 + "levelType": 3,
  138 + "lng": "103.84881",
  139 + "mergerName": "四川省,成都市,温江区",
  140 + "modified": "2017-06-15 12:42:56",
  141 + "name": "温江区",
  142 + "parentId": 510100,
  143 + "pinyin": "Wenjiang",
  144 + "shortName": "温江",
  145 + "shortPy": "WJ",
  146 + "yn": True
  147 + },
  148 + {
  149 + "cityCode": "028",
  150 + "created": "2018-01-15 15:34:54",
  151 + "id": 510116,
  152 + "lat": "30.659462",
  153 + "levelType": 3,
  154 + "lng": "104.065735",
  155 + "mergerName": "四川省,成都市,双流区",
  156 + "modified": "2018-01-15 15:34:54",
  157 + "name": "双流区",
  158 + "parentId": 510100,
  159 + "pinyin": "ShuangLiu",
  160 + "shortName": "双流",
  161 + "shortPy": "SL",
  162 + "yn": True
  163 + },
  164 + {
  165 + "cityCode": "028",
  166 + "created": "2018-01-15 14:11:08",
  167 + "id": 510117,
  168 + "lat": "30.659462",
  169 + "levelType": 3,
  170 + "lng": "104.065735",
  171 + "mergerName": "四川省,成都市,郫都区",
  172 + "modified": "2018-01-15 14:11:08",
  173 + "name": "郫都区",
  174 + "parentId": 510100,
  175 + "pinyin": "PiDou",
  176 + "shortName": "郫都",
  177 + "shortPy": "PD",
  178 + "yn": True
  179 + },
  180 + {
  181 + "cityCode": "028",
  182 + "created": "2017-05-27 23:42:37",
  183 + "id": 510121,
  184 + "lat": "30.86195",
  185 + "levelType": 3,
  186 + "lng": "104.41195",
  187 + "mergerName": "四川省,成都市,金堂县",
  188 + "modified": "2017-06-15 12:42:56",
  189 + "name": "金堂县",
  190 + "parentId": 510100,
  191 + "pinyin": "Jintang",
  192 + "shortName": "金堂",
  193 + "shortPy": "JT",
  194 + "yn": True
  195 + },
  196 + {
  197 + "cityCode": "028",
  198 + "created": "2017-05-27 23:42:37",
  199 + "id": 510122,
  200 + "lat": "30.57444",
  201 + "levelType": 3,
  202 + "lng": "103.92373",
  203 + "mergerName": "四川省,成都市,双流县",
  204 + "modified": "2017-06-15 12:42:56",
  205 + "name": "双流县",
  206 + "parentId": 510100,
  207 + "pinyin": "Shuangliu",
  208 + "shortName": "双流",
  209 + "shortPy": "SL",
  210 + "yn": True
  211 + },
  212 + {
  213 + "cityCode": "028",
  214 + "created": "2017-05-27 23:42:37",
  215 + "id": 510124,
  216 + "lat": "30.81054",
  217 + "levelType": 3,
  218 + "lng": "103.88717",
  219 + "mergerName": "四川省,成都市,郫县",
  220 + "modified": "2017-06-15 12:42:56",
  221 + "name": "郫县",
  222 + "parentId": 510100,
  223 + "pinyin": "Pixian",
  224 + "shortName": "郫县",
  225 + "shortPy": "PX",
  226 + "yn": True
  227 + },
  228 + {
  229 + "cityCode": "028",
  230 + "created": "2017-05-27 23:42:37",
  231 + "id": 510129,
  232 + "lat": "30.58738",
  233 + "levelType": 3,
  234 + "lng": "103.52075",
  235 + "mergerName": "四川省,成都市,大邑县",
  236 + "modified": "2017-06-15 12:42:56",
  237 + "name": "大邑县",
  238 + "parentId": 510100,
  239 + "pinyin": "Dayi",
  240 + "shortName": "大邑",
  241 + "shortPy": "DY",
  242 + "yn": True
  243 + },
  244 + {
  245 + "cityCode": "028",
  246 + "created": "2017-05-27 23:42:37",
  247 + "id": 510131,
  248 + "lat": "30.19667",
  249 + "levelType": 3,
  250 + "lng": "103.50616",
  251 + "mergerName": "四川省,成都市,蒲江县",
  252 + "modified": "2017-06-15 12:42:56",
  253 + "name": "蒲江县",
  254 + "parentId": 510100,
  255 + "pinyin": "Pujiang",
  256 + "shortName": "蒲江",
  257 + "shortPy": "PJ",
  258 + "yn": True
  259 + },
  260 + {
  261 + "cityCode": "028",
  262 + "created": "2017-05-27 23:42:37",
  263 + "id": 510132,
  264 + "lat": "30.40983",
  265 + "levelType": 3,
  266 + "lng": "103.8114",
  267 + "mergerName": "四川省,成都市,新津县",
  268 + "modified": "2017-06-15 12:42:56",
  269 + "name": "新津县",
  270 + "parentId": 510100,
  271 + "pinyin": "Xinjin",
  272 + "shortName": "新津",
  273 + "shortPy": "XJ",
  274 + "yn": True
  275 + },
  276 + {
  277 + "cityCode": "028",
  278 + "created": "2017-05-27 23:42:37",
  279 + "id": 510181,
  280 + "lat": "30.99825",
  281 + "levelType": 3,
  282 + "lng": "103.61941",
  283 + "mergerName": "四川省,成都市,都江堰市",
  284 + "modified": "2017-06-15 12:42:56",
  285 + "name": "都江堰市",
  286 + "parentId": 510100,
  287 + "pinyin": "Dujiangyan",
  288 + "shortName": "都江堰",
  289 + "shortPy": "DJY",
  290 + "yn": True
  291 + },
  292 + {
  293 + "cityCode": "028",
  294 + "created": "2017-05-27 23:42:37",
  295 + "id": 510182,
  296 + "lat": "30.99011",
  297 + "levelType": 3,
  298 + "lng": "103.958",
  299 + "mergerName": "四川省,成都市,彭州市",
  300 + "modified": "2017-06-15 12:42:56",
  301 + "name": "彭州市",
  302 + "parentId": 510100,
  303 + "pinyin": "Pengzhou",
  304 + "shortName": "彭州",
  305 + "shortPy": "PZ",
  306 + "yn": True
  307 + },
  308 + {
  309 + "cityCode": "028",
  310 + "created": "2017-05-27 23:42:37",
  311 + "id": 510183,
  312 + "lat": "30.41489",
  313 + "levelType": 3,
  314 + "lng": "103.46283",
  315 + "mergerName": "四川省,成都市,邛崃市",
  316 + "modified": "2017-06-15 12:42:56",
  317 + "name": "邛崃市",
  318 + "parentId": 510100,
  319 + "pinyin": "Qionglai",
  320 + "shortName": "邛崃",
  321 + "shortPy": "QL",
  322 + "yn": True
  323 + },
  324 + {
  325 + "cityCode": "028",
  326 + "created": "2017-05-27 23:42:37",
  327 + "id": 510184,
  328 + "lat": "30.63014",
  329 + "levelType": 3,
  330 + "lng": "103.67285",
  331 + "mergerName": "四川省,成都市,崇州市",
  332 + "modified": "2017-06-15 12:42:57",
  333 + "name": "崇州市",
  334 + "parentId": 510100,
  335 + "pinyin": "Chongzhou",
  336 + "shortName": "崇州",
  337 + "shortPy": "CZ",
  338 + "yn": True
  339 + },
  340 + {
  341 + "cityCode": "028",
  342 + "created": "2018-01-17 11:26:47",
  343 + "id": 510185,
  344 + "lat": "30.659462",
  345 + "levelType": 3,
  346 + "lng": "104.065735",
  347 + "mergerName": "四川省,成都市,简阳市",
  348 + "modified": "2018-01-17 11:26:47",
  349 + "name": "简阳市",
  350 + "parentId": 510100,
  351 + "pinyin": "JianYang",
  352 + "shortName": "简阳",
  353 + "shortPy": "JY",
  354 + "yn": True
  355 + }
  356 + ],
  357 + "message": "OK",
  358 + "result": "OK",
  359 + "success": True
  360 +}
0 361 \ No newline at end of file
... ...
config/api/sy/car_list.py 0 → 100644
  1 +data={
  2 + "code": "200",
  3 + "data": [
  4 + {
  5 + "autoPass": 2,
  6 + "autoSave": 1,
  7 + "carTypeName": "板车",
  8 + "code": "003",
  9 + "id": 53,
  10 + "number": "0007",
  11 + "remark": "",
  12 + "status": 1,
  13 + "tag": "jmsf",
  14 + "weight": 333
  15 + },
  16 + {
  17 + "autoPass": 1,
  18 + "autoSave": 1,
  19 + "carTypeName": "挂车",
  20 + "code": "gc",
  21 + "id": 59,
  22 + "number": "0030",
  23 + "remark": "",
  24 + "status": 1,
  25 + "tag": "jmsf",
  26 + "weight": 1
  27 + },
  28 + {
  29 + "autoPass": 2,
  30 + "carTypeName": "柜车",
  31 + "code": "23",
  32 + "id": 60,
  33 + "number": "0031",
  34 + "remark": "",
  35 + "status": 1,
  36 + "tag": "jmsf",
  37 + "weight": 0
  38 + },
  39 + {
  40 + "autoPass": 1,
  41 + "autoSave": 1,
  42 + "carTypeName": "地排车",
  43 + "code": "008",
  44 + "id": 87,
  45 + "number": "0001",
  46 + "remark": "",
  47 + "status": 1,
  48 + "tag": "jmsf",
  49 + "weight": 2
  50 + },
  51 + {
  52 + "autoPass": 2,
  53 + "autoSave": 1,
  54 + "carTypeName": "玉玺",
  55 + "code": "888",
  56 + "id": 128,
  57 + "number": "0042",
  58 + "remark": "",
  59 + "status": 1,
  60 + "tag": "jmsf",
  61 + "weight": 0
  62 + },
  63 + {
  64 + "autoPass": 2,
  65 + "carTypeName": "军车",
  66 + "code": "555",
  67 + "id": 61,
  68 + "number": "0013",
  69 + "remark": "",
  70 + "status": 1,
  71 + "tag": "jmsf",
  72 + "weight": 0
  73 + },
  74 + {
  75 + "autoPass": 2,
  76 + "carTypeName": "小面包",
  77 + "code": "",
  78 + "id": 142,
  79 + "number": "0008",
  80 + "remark": "",
  81 + "status": 1,
  82 + "tag": "jmsf",
  83 + "weight": 22
  84 + },
  85 + {
  86 + "autoPass": 1,
  87 + "autoSave": 1,
  88 + "carTypeName": "小轿车",
  89 + "code": "001",
  90 + "id": 51,
  91 + "number": "0002",
  92 + "remark": "",
  93 + "status": 1,
  94 + "tag": "jmsf",
  95 + "weight": 0
  96 + },
  97 + {
  98 + "autoPass": 2,
  99 + "carTypeName": "123456789012345",
  100 + "code": "1245",
  101 + "id": 160,
  102 + "number": "0044",
  103 + "remark": "",
  104 + "status": 1,
  105 + "tag": "jmsf",
  106 + "weight": 11
  107 + },
  108 + {
  109 + "autoPass": 2,
  110 + "carTypeName": "111111111222222",
  111 + "code": "6432",
  112 + "id": 161,
  113 + "number": "0045",
  114 + "remark": "",
  115 + "status": 1,
  116 + "tag": "jmsf",
  117 + "weight": 22
  118 + },
  119 + {
  120 + "autoPass": 2,
  121 + "autoSave": 1,
  122 + "carTypeName": "test0731",
  123 + "code": "12345",
  124 + "id": 162,
  125 + "number": "0047",
  126 + "remark": "asdf g hgsaf",
  127 + "status": 1,
  128 + "tag": "jmsf",
  129 + "weight": 11
  130 + }
  131 + ],
  132 + "message": "OK",
  133 + "result": "OK",
  134 + "success": True
  135 +}
0 136 \ No newline at end of file
... ...