作者 李忠强

更新

1 /runtime/* 1 /runtime/*
2 /public/uploads/* 2 /public/uploads/*
  3 +/public/api.html
3 .idea 4 .idea
4 composer.lock 5 composer.lock
5 *.log 6 *.log
1 <?php 1 <?php
2 2
3 -return array(  
4 - array(  
5 - 'name' => 'maptype',  
6 - 'title' => '默认地图类型',  
7 - 'type' => 'radio',  
8 - 'content' =>  
9 - array(  
10 - 'baidu' => '百度地图',  
11 - 'amap' => '高德地图',  
12 - 'tencent' => '腾讯地图',  
13 - ),  
14 - 'value' => 'baidu',  
15 - 'rule' => 'required',  
16 - 'msg' => '',  
17 - 'tip' => '',  
18 - 'ok' => '',  
19 - 'extend' => '',  
20 - ),  
21 - array(  
22 - 'name' => 'location',  
23 - 'title' => '默认检索城市',  
24 - 'type' => 'string',  
25 - 'content' =>  
26 - array(),  
27 - 'value' => '北京',  
28 - 'rule' => 'required',  
29 - 'msg' => '',  
30 - 'tip' => '',  
31 - 'ok' => '',  
32 - 'extend' => '',  
33 - ),  
34 - array(  
35 - 'name' => 'zoom',  
36 - 'title' => '默认缩放级别',  
37 - 'type' => 'string',  
38 - 'content' =>  
39 - array(),  
40 - 'value' => '12',  
41 - 'rule' => 'required',  
42 - 'msg' => '',  
43 - 'tip' => '',  
44 - 'ok' => '',  
45 - 'extend' => '',  
46 - ),  
47 - array(  
48 - 'name' => 'lat',  
49 - 'title' => '默认Lat',  
50 - 'type' => 'string',  
51 - 'content' =>  
52 - array(),  
53 - 'value' => '39.919990',  
54 - 'rule' => 'required',  
55 - 'msg' => '',  
56 - 'tip' => '',  
57 - 'ok' => '',  
58 - 'extend' => '',  
59 - ),  
60 - array(  
61 - 'name' => 'lng',  
62 - 'title' => '默认Lng',  
63 - 'type' => 'string',  
64 - 'content' =>  
65 - array(),  
66 - 'value' => '116.456270',  
67 - 'rule' => 'required',  
68 - 'msg' => '',  
69 - 'tip' => '',  
70 - 'ok' => '',  
71 - 'extend' => '',  
72 - ),  
73 - array(  
74 - 'name' => 'baidukey',  
75 - 'title' => '百度地图KEY',  
76 - 'type' => 'string',  
77 - 'content' =>  
78 - array(),  
79 - 'value' => 'hAeMFHmpyHa2ZjaCH9VVridl',  
80 - 'rule' => 'required',  
81 - 'msg' => '',  
82 - 'tip' => '',  
83 - 'ok' => '',  
84 - 'extend' => '',  
85 - ),  
86 - array(  
87 - 'name' => 'amapkey',  
88 - 'title' => '高德地图KEY',  
89 - 'type' => 'string',  
90 - 'content' =>  
91 - array(),  
92 - 'value' => '608d75903d29ad471362f8c58c550daf',  
93 - 'rule' => 'required',  
94 - 'msg' => '',  
95 - 'tip' => '',  
96 - 'ok' => '',  
97 - 'extend' => '',  
98 - ),  
99 - array(  
100 - 'name' => 'tencentkey',  
101 - 'title' => '腾讯地图KEY',  
102 - 'type' => 'string',  
103 - 'content' =>  
104 - array(),  
105 - 'value' => '608d75903d29ad471362f8c58c550daf',  
106 - 'rule' => 'required',  
107 - 'msg' => '',  
108 - 'tip' => '',  
109 - 'ok' => '',  
110 - 'extend' => '',  
111 - ),  
112 - array(  
113 - 'name' => '__tips__',  
114 - 'title' => '温馨提示',  
115 - 'type' => '',  
116 - 'content' =>  
117 - array(),  
118 - 'value' => '请先申请对应地图的Key,配置后再使用',  
119 - 'rule' => '',  
120 - 'msg' => '',  
121 - 'tip' => '',  
122 - 'ok' => '',  
123 - 'extend' => 'alert-danger-light',  
124 - ),  
125 -); 3 +return [
  4 + [
  5 + 'name' => 'maptype',
  6 + 'title' => '默认地图类型',
  7 + 'type' => 'radio',
  8 + 'content' => [
  9 + 'baidu' => '百度地图',
  10 + 'amap' => '高德地图',
  11 + 'tencent' => '腾讯地图',
  12 + ],
  13 + 'value' => 'tencent',
  14 + 'rule' => 'required',
  15 + 'msg' => '',
  16 + 'tip' => '',
  17 + 'ok' => '',
  18 + 'extend' => '',
  19 + ],
  20 + [
  21 + 'name' => 'location',
  22 + 'title' => '默认检索城市',
  23 + 'type' => 'string',
  24 + 'content' => [],
  25 + 'value' => '天津',
  26 + 'rule' => 'required',
  27 + 'msg' => '',
  28 + 'tip' => '',
  29 + 'ok' => '',
  30 + 'extend' => '',
  31 + ],
  32 + [
  33 + 'name' => 'zoom',
  34 + 'title' => '默认缩放级别',
  35 + 'type' => 'string',
  36 + 'content' => [],
  37 + 'value' => '12',
  38 + 'rule' => 'required',
  39 + 'msg' => '',
  40 + 'tip' => '',
  41 + 'ok' => '',
  42 + 'extend' => '',
  43 + ],
  44 + [
  45 + 'name' => 'lat',
  46 + 'title' => '默认Lat',
  47 + 'type' => 'string',
  48 + 'content' => [],
  49 + 'value' => '39.135927',
  50 + 'rule' => 'required',
  51 + 'msg' => '',
  52 + 'tip' => '',
  53 + 'ok' => '',
  54 + 'extend' => '',
  55 + ],
  56 + [
  57 + 'name' => 'lng',
  58 + 'title' => '默认Lng',
  59 + 'type' => 'string',
  60 + 'content' => [],
  61 + 'value' => '117.21023',
  62 + 'rule' => 'required',
  63 + 'msg' => '',
  64 + 'tip' => '',
  65 + 'ok' => '',
  66 + 'extend' => '',
  67 + ],
  68 + [
  69 + 'name' => 'baidukey',
  70 + 'title' => '百度地图KEY',
  71 + 'type' => 'string',
  72 + 'content' => [],
  73 + 'value' => 'hAeMFHmpyHa2ZjaCH9VVridl',
  74 + 'rule' => 'required',
  75 + 'msg' => '',
  76 + 'tip' => '',
  77 + 'ok' => '',
  78 + 'extend' => '',
  79 + ],
  80 + [
  81 + 'name' => 'amapkey',
  82 + 'title' => '高德地图KEY',
  83 + 'type' => 'string',
  84 + 'content' => [],
  85 + 'value' => '608d75903d29ad471362f8c58c550daf',
  86 + 'rule' => 'required',
  87 + 'msg' => '',
  88 + 'tip' => '',
  89 + 'ok' => '',
  90 + 'extend' => '',
  91 + ],
  92 + [
  93 + 'name' => 'tencentkey',
  94 + 'title' => '腾讯地图KEY',
  95 + 'type' => 'string',
  96 + 'content' => [],
  97 + 'value' => 'FBZBZ-OCF6W-5QXRV-O7G42-GZGRE-UNBWO',
  98 + 'rule' => 'required',
  99 + 'msg' => '',
  100 + 'tip' => '',
  101 + 'ok' => '',
  102 + 'extend' => '',
  103 + ],
  104 + [
  105 + 'name' => '__tips__',
  106 + 'title' => '温馨提示',
  107 + 'type' => '',
  108 + 'content' => [],
  109 + 'value' => '请先申请对应地图的Key,配置后再使用',
  110 + 'rule' => '',
  111 + 'msg' => '',
  112 + 'tip' => '',
  113 + 'ok' => '',
  114 + 'extend' => 'alert-danger-light',
  115 + ],
  116 +];
@@ -9,7 +9,7 @@ use app\api\model\SpecValue; @@ -9,7 +9,7 @@ use app\api\model\SpecValue;
9 use app\common\controller\Api; 9 use app\common\controller\Api;
10 10
11 /** 11 /**
12 - * 订单页面 12 + * 订单
13 */ 13 */
14 class Order extends Api 14 class Order extends Api
15 { 15 {