|
@@ -2,18 +2,42 @@ |
|
@@ -2,18 +2,42 @@ |
|
2
|
name: "商家服务"
|
2
|
name: "商家服务"
|
|
3
|
request:
|
3
|
request:
|
|
4
|
base_url: http://dc1.colorcun.com:10005?s=
|
4
|
base_url: http://dc1.colorcun.com:10005?s=
|
|
|
|
5
|
+ variable_binds:
|
|
|
|
6
|
+ - add_name: "雁来客栈"
|
|
|
|
7
|
+ - add_phone: "13198765432"
|
|
|
|
8
|
+ - add_map_address: "陕西省西安市"
|
|
|
|
9
|
+ - add_long: "123"
|
|
|
|
10
|
+ - add_lat: "456"
|
|
|
|
11
|
+ - add_file: "/Users/orange/cover.jpeg"
|
|
|
|
12
|
+ - add_image: "/Users/orange/cover.jpeg"
|
|
|
|
13
|
+ - norepeat_name: "玲珑坊"
|
|
|
|
14
|
+ - norepeat_phone: "13123456789"
|
|
|
|
15
|
+ - pageNum: 1
|
|
|
|
16
|
+ - pageLarge: 10000
|
|
|
|
17
|
+ - sellerid_no: 10000
|
|
|
|
18
|
+ - update_id: "9"
|
|
|
|
19
|
+ - update_name: "呷哺修改1"
|
|
|
|
20
|
+ - update_phone: "18066666666"
|
|
|
|
21
|
+ - update_map_address: "陕西省西安市"
|
|
|
|
22
|
+ - update_long: "123"
|
|
|
|
23
|
+ - update_lat: "456"
|
|
|
|
24
|
+ - update_file: "/Users/orange/cover.jpeg"
|
|
|
|
25
|
+ - update_image: "/Users/orange/cover.jpeg"
|
|
|
|
26
|
+ - repeat_name: "测试商家"
|
|
|
|
27
|
+ - repeat_phone: "18049359987"
|
|
|
|
28
|
+ - sellerid_no_str: "10000"
|
|
5
|
|
29
|
|
|
6
|
#添加商家信息
|
30
|
#添加商家信息
|
|
7
|
- test:
|
31
|
- test:
|
|
8
|
name: 添加商家信息(正确操作)
|
32
|
name: 添加商家信息(正确操作)
|
|
9
|
variable_binds:
|
33
|
variable_binds:
|
|
10
|
- - name: "呷哺1"
|
|
|
|
11
|
- - phone: "18011111111"
|
|
|
|
12
|
- - map_address: "陕西省西安市"
|
|
|
|
13
|
- - long: "123"
|
|
|
|
14
|
- - lat: "456"
|
|
|
|
15
|
- - file: "/Users/orange/cover.jpeg"
|
|
|
|
16
|
- - image: "/Users/orange/cover.jpeg"
|
34
|
+ - name: $add_name
|
|
|
|
35
|
+ - phone: $add_phone
|
|
|
|
36
|
+ - map_address: $add_map_address
|
|
|
|
37
|
+ - long: $add_long
|
|
|
|
38
|
+ - lat: $add_lat
|
|
|
|
39
|
+ - file: $add_file
|
|
|
|
40
|
+ - image: $add_image
|
|
17
|
- multipart_encoder: ${get_data(name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
41
|
- multipart_encoder: ${get_data(name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
|
18
|
request:
|
42
|
request:
|
|
19
|
url: App.Seller.AddSeller
|
43
|
url: App.Seller.AddSeller
|
|
@@ -21,18 +45,20 @@ |
|
@@ -21,18 +45,20 @@ |
|
21
|
headers:
|
45
|
headers:
|
|
22
|
Content-Type: ${get_content_type($multipart_encoder)}
|
46
|
Content-Type: ${get_content_type($multipart_encoder)}
|
|
23
|
data: $multipart_encoder
|
47
|
data: $multipart_encoder
|
|
|
|
48
|
+ extract:
|
|
|
|
49
|
+ - sellerid: content.data.sellerid
|
|
24
|
validate:
|
50
|
validate:
|
|
25
|
- eq: ["content.ret", 200]
|
51
|
- eq: ["content.ret", 200]
|
|
26
|
|
52
|
|
|
27
|
- test:
|
53
|
- test:
|
|
28
|
name: 添加商家信息(不填name)
|
54
|
name: 添加商家信息(不填name)
|
|
29
|
variable_binds:
|
55
|
variable_binds:
|
|
30
|
- - phone: "18011111111"
|
|
|
|
31
|
- - map_address: "陕西省西安市"
|
|
|
|
32
|
- - long: "123"
|
|
|
|
33
|
- - lat: "456"
|
|
|
|
34
|
- - file: "/Users/orange/cover.jpeg"
|
|
|
|
35
|
- - image: "/Users/orange/cover.jpeg"
|
56
|
+ - phone: $add_phone
|
|
|
|
57
|
+ - map_address: $add_map_address
|
|
|
|
58
|
+ - long: $add_long
|
|
|
|
59
|
+ - lat: $add_lat
|
|
|
|
60
|
+ - file: $add_file
|
|
|
|
61
|
+ - image: $add_image
|
|
36
|
- multipart_encoder: ${get_data(phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
62
|
- multipart_encoder: ${get_data(phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
|
37
|
request:
|
63
|
request:
|
|
38
|
url: App.Seller.AddSeller
|
64
|
url: App.Seller.AddSeller
|
|
@@ -47,12 +73,12 @@ |
|
@@ -47,12 +73,12 @@ |
|
47
|
- test:
|
73
|
- test:
|
|
48
|
name: 添加商家信息(不填phone)
|
74
|
name: 添加商家信息(不填phone)
|
|
49
|
variable_binds:
|
75
|
variable_binds:
|
|
50
|
- - name: "呷哺1"
|
|
|
|
51
|
- - map_address: "陕西省西安市"
|
|
|
|
52
|
- - long: "123"
|
|
|
|
53
|
- - lat: "456"
|
|
|
|
54
|
- - file: "/Users/orange/cover.jpeg"
|
|
|
|
55
|
- - image: "/Users/orange/cover.jpeg"
|
76
|
+ - name: $add_name
|
|
|
|
77
|
+ - map_address: $add_map_address
|
|
|
|
78
|
+ - long: $add_long
|
|
|
|
79
|
+ - lat: $add_lat
|
|
|
|
80
|
+ - file: $add_file
|
|
|
|
81
|
+ - image: $add_image
|
|
56
|
- multipart_encoder: ${get_data(name=$name,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
82
|
- multipart_encoder: ${get_data(name=$name,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
|
57
|
request:
|
83
|
request:
|
|
58
|
url: App.Seller.AddSeller
|
84
|
url: App.Seller.AddSeller
|
|
@@ -66,13 +92,12 @@ |
|
@@ -66,13 +92,12 @@ |
|
66
|
- test:
|
92
|
- test:
|
|
67
|
name: 添加商家信息(不填map_address)
|
93
|
name: 添加商家信息(不填map_address)
|
|
68
|
variable_binds:
|
94
|
variable_binds:
|
|
69
|
- - name: "呷哺1"
|
|
|
|
70
|
- - phone: "18011111111"
|
|
|
|
71
|
- - map_address: "陕西省西安市"
|
|
|
|
72
|
- - long: "123"
|
|
|
|
73
|
- - lat: "456"
|
|
|
|
74
|
- - file: "/Users/orange/cover.jpeg"
|
|
|
|
75
|
- - image: "/Users/orange/cover.jpeg"
|
95
|
+ - name: $add_name
|
|
|
|
96
|
+ - phone: $add_phone
|
|
|
|
97
|
+ - long: $add_long
|
|
|
|
98
|
+ - lat: $add_lat
|
|
|
|
99
|
+ - file: $add_file
|
|
|
|
100
|
+ - image: $add_image
|
|
76
|
- multipart_encoder: ${get_data(name=$name,phone=$phone,long=$long,lat=$lat,file=$file,image=$image)}
|
101
|
- multipart_encoder: ${get_data(name=$name,phone=$phone,long=$long,lat=$lat,file=$file,image=$image)}
|
|
77
|
request:
|
102
|
request:
|
|
78
|
url: App.Seller.AddSeller
|
103
|
url: App.Seller.AddSeller
|
|
@@ -86,12 +111,12 @@ |
|
@@ -86,12 +111,12 @@ |
|
86
|
- test:
|
111
|
- test:
|
|
87
|
name: 添加商家信息(不填file)
|
112
|
name: 添加商家信息(不填file)
|
|
88
|
variable_binds:
|
113
|
variable_binds:
|
|
89
|
- - name: "呷哺1"
|
|
|
|
90
|
- - phone: "18011111111"
|
|
|
|
91
|
- - map_address: "陕西省西安市"
|
|
|
|
92
|
- - long: "123"
|
|
|
|
93
|
- - lat: "456"
|
|
|
|
94
|
- - image: "/Users/orange/cover.jpeg"
|
114
|
+ - name: $add_name
|
|
|
|
115
|
+ - phone: $add_phone
|
|
|
|
116
|
+ - map_address: $add_map_address
|
|
|
|
117
|
+ - long: $add_long
|
|
|
|
118
|
+ - lat: $add_lat
|
|
|
|
119
|
+ - image: $add_image
|
|
95
|
- multipart_encoder: ${get_data(name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,image=$image)}
|
120
|
- multipart_encoder: ${get_data(name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,image=$image)}
|
|
96
|
request:
|
121
|
request:
|
|
97
|
url: App.Seller.AddSeller
|
122
|
url: App.Seller.AddSeller
|
|
@@ -105,12 +130,12 @@ |
|
@@ -105,12 +130,12 @@ |
|
105
|
- test:
|
130
|
- test:
|
|
106
|
name: 添加商家信息(不填image)
|
131
|
name: 添加商家信息(不填image)
|
|
107
|
variable_binds:
|
132
|
variable_binds:
|
|
108
|
- - name: "呷哺1"
|
|
|
|
109
|
- - phone: "18011111111"
|
|
|
|
110
|
- - map_address: "陕西省西安市"
|
|
|
|
111
|
- - long: "123"
|
|
|
|
112
|
- - lat: "456"
|
|
|
|
113
|
- - file: "/Users/orange/cover.jpeg"
|
133
|
+ - name: $add_name
|
|
|
|
134
|
+ - phone: $add_phone
|
|
|
|
135
|
+ - map_address: $add_map_address
|
|
|
|
136
|
+ - long: $add_long
|
|
|
|
137
|
+ - lat: $add_lat
|
|
|
|
138
|
+ - file: $add_file
|
|
114
|
- multipart_encoder: ${get_data(name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file)}
|
139
|
- multipart_encoder: ${get_data(name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file)}
|
|
115
|
request:
|
140
|
request:
|
|
116
|
url: App.Seller.AddSeller
|
141
|
url: App.Seller.AddSeller
|
|
@@ -124,12 +149,12 @@ |
|
@@ -124,12 +149,12 @@ |
|
124
|
- test:
|
149
|
- test:
|
|
125
|
name: 添加商家信息(不填long)
|
150
|
name: 添加商家信息(不填long)
|
|
126
|
variable_binds:
|
151
|
variable_binds:
|
|
127
|
- - name: "呷哺1"
|
|
|
|
128
|
- - phone: "18011111111"
|
|
|
|
129
|
- - map_address: "陕西省西安市"
|
|
|
|
130
|
- - lat: "456"
|
|
|
|
131
|
- - file: "/Users/orange/cover.jpeg"
|
|
|
|
132
|
- - image: "/Users/orange/cover.jpeg"
|
152
|
+ - name: $add_name
|
|
|
|
153
|
+ - phone: $add_phone
|
|
|
|
154
|
+ - map_address: $add_map_address
|
|
|
|
155
|
+ - lat: $add_lat
|
|
|
|
156
|
+ - file: $add_file
|
|
|
|
157
|
+ - image: $add_image
|
|
133
|
- multipart_encoder: ${get_data(name=$name,phone=$phone,map_address=$map_address,lat=$lat,file=$file,image=$image)}
|
158
|
- multipart_encoder: ${get_data(name=$name,phone=$phone,map_address=$map_address,lat=$lat,file=$file,image=$image)}
|
|
134
|
request:
|
159
|
request:
|
|
135
|
url: App.Seller.AddSeller
|
160
|
url: App.Seller.AddSeller
|
|
@@ -143,12 +168,12 @@ |
|
@@ -143,12 +168,12 @@ |
|
143
|
- test:
|
168
|
- test:
|
|
144
|
name: 添加商家信息(不填lat)
|
169
|
name: 添加商家信息(不填lat)
|
|
145
|
variable_binds:
|
170
|
variable_binds:
|
|
146
|
- - name: "呷哺1"
|
|
|
|
147
|
- - phone: "18011111111"
|
|
|
|
148
|
- - map_address: "陕西省西安市"
|
|
|
|
149
|
- - long: "123"
|
|
|
|
150
|
- - file: "/Users/orange/cover.jpeg"
|
|
|
|
151
|
- - image: "/Users/orange/cover.jpeg"
|
171
|
+ - name: $add_name
|
|
|
|
172
|
+ - phone: $add_phone
|
|
|
|
173
|
+ - map_address: $add_map_address
|
|
|
|
174
|
+ - long: $add_long
|
|
|
|
175
|
+ - file: $add_file
|
|
|
|
176
|
+ - image: $add_image
|
|
152
|
- multipart_encoder: ${get_data(name=$name,phone=$phone,map_address=$map_address,long=$long,file=$file,image=$image)}
|
177
|
- multipart_encoder: ${get_data(name=$name,phone=$phone,map_address=$map_address,long=$long,file=$file,image=$image)}
|
|
153
|
request:
|
178
|
request:
|
|
154
|
url: App.Seller.AddSeller
|
179
|
url: App.Seller.AddSeller
|
|
@@ -162,13 +187,13 @@ |
|
@@ -162,13 +187,13 @@ |
|
162
|
- test:
|
187
|
- test:
|
|
163
|
name: 添加商家信息(重复name)
|
188
|
name: 添加商家信息(重复name)
|
|
164
|
variable_binds:
|
189
|
variable_binds:
|
|
165
|
- - name: "呷哺1"
|
|
|
|
166
|
- - phone: "18011111112"
|
|
|
|
167
|
- - map_address: "陕西省西安市"
|
|
|
|
168
|
- - long: "123"
|
|
|
|
169
|
- - lat: "456"
|
|
|
|
170
|
- - file: "/Users/orange/cover.jpeg"
|
|
|
|
171
|
- - image: "/Users/orange/cover.jpeg"
|
190
|
+ - name: $add_name
|
|
|
|
191
|
+ - phone: $norepeat_phone
|
|
|
|
192
|
+ - map_address: $add_map_address
|
|
|
|
193
|
+ - long: $add_long
|
|
|
|
194
|
+ - lat: $add_lat
|
|
|
|
195
|
+ - file: $add_file
|
|
|
|
196
|
+ - image: $add_image
|
|
172
|
- multipart_encoder: ${get_data(name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
197
|
- multipart_encoder: ${get_data(name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
|
173
|
request:
|
198
|
request:
|
|
174
|
url: App.Seller.AddSeller
|
199
|
url: App.Seller.AddSeller
|
|
@@ -182,13 +207,13 @@ |
|
@@ -182,13 +207,13 @@ |
|
182
|
- test:
|
207
|
- test:
|
|
183
|
name: 添加商家信息(重复phone)
|
208
|
name: 添加商家信息(重复phone)
|
|
184
|
variable_binds:
|
209
|
variable_binds:
|
|
185
|
- - name: "呷哺2"
|
|
|
|
186
|
- - phone: "18011111111"
|
|
|
|
187
|
- - map_address: "陕西省西安市"
|
|
|
|
188
|
- - long: "123"
|
|
|
|
189
|
- - lat: "456"
|
|
|
|
190
|
- - file: "/Users/orange/cover.jpeg"
|
|
|
|
191
|
- - image: "/Users/orange/cover.jpeg"
|
210
|
+ - name: $norepeat_name
|
|
|
|
211
|
+ - phone: $add_phone
|
|
|
|
212
|
+ - map_address: $add_map_address
|
|
|
|
213
|
+ - long: $add_long
|
|
|
|
214
|
+ - lat: $add_lat
|
|
|
|
215
|
+ - file: $add_file
|
|
|
|
216
|
+ - image: $add_image
|
|
192
|
- multipart_encoder: ${get_data(name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
217
|
- multipart_encoder: ${get_data(name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
|
193
|
request:
|
218
|
request:
|
|
194
|
url: App.Seller.AddSeller
|
219
|
url: App.Seller.AddSeller
|
|
@@ -207,7 +232,7 @@ |
|
@@ -207,7 +232,7 @@ |
|
207
|
url: App.Seller.SellerLists
|
232
|
url: App.Seller.SellerLists
|
|
208
|
method: POST
|
233
|
method: POST
|
|
209
|
data:
|
234
|
data:
|
|
210
|
- page: 1
|
235
|
+ page: $pageNum
|
|
211
|
validate:
|
236
|
validate:
|
|
212
|
- eq: ["content.ret", 200]
|
237
|
- eq: ["content.ret", 200]
|
|
213
|
- test:
|
238
|
- test:
|
|
@@ -216,7 +241,7 @@ |
|
@@ -216,7 +241,7 @@ |
|
216
|
url: App.Seller.SellerLists
|
241
|
url: App.Seller.SellerLists
|
|
217
|
method: POST
|
242
|
method: POST
|
|
218
|
data:
|
243
|
data:
|
|
219
|
- page: 300
|
244
|
+ page: $pageLarge
|
|
220
|
validate:
|
245
|
validate:
|
|
221
|
- eq: ["content.ret", 396]
|
246
|
- eq: ["content.ret", 396]
|
|
222
|
- eq: ["content.msg","非法请求:暂无商家"]
|
247
|
- eq: ["content.msg","非法请求:暂无商家"]
|
|
@@ -228,17 +253,17 @@ |
|
@@ -228,17 +253,17 @@ |
|
228
|
url: App.Seller.GetSellerById
|
253
|
url: App.Seller.GetSellerById
|
|
229
|
method: POST
|
254
|
method: POST
|
|
230
|
data:
|
255
|
data:
|
|
231
|
- sellerid: 5
|
256
|
+ sellerid: $sellerid
|
|
232
|
validate:
|
257
|
validate:
|
|
233
|
- eq: ["content.ret", 200]
|
258
|
- eq: ["content.ret", 200]
|
|
234
|
- - eq: ["content.data.data.id", "5"]
|
259
|
+ - eq: ["content.data.data.id", $sellerid]
|
|
235
|
- test:
|
260
|
- test:
|
|
236
|
name: 根据商家ID获取商家信息(sellerid不存在)
|
261
|
name: 根据商家ID获取商家信息(sellerid不存在)
|
|
237
|
request:
|
262
|
request:
|
|
238
|
url: App.Seller.GetSellerById
|
263
|
url: App.Seller.GetSellerById
|
|
239
|
method: POST
|
264
|
method: POST
|
|
240
|
data:
|
265
|
data:
|
|
241
|
- sellerid: 10000
|
266
|
+ sellerid: $sellerid_no
|
|
242
|
validate:
|
267
|
validate:
|
|
243
|
- eq: ["content.ret", 396]
|
268
|
- eq: ["content.ret", 396]
|
|
244
|
- eq: ["content.msg","非法请求:暂无商家"]
|
269
|
- eq: ["content.msg","非法请求:暂无商家"]
|
|
@@ -247,14 +272,14 @@ |
|
@@ -247,14 +272,14 @@ |
|
247
|
- test:
|
272
|
- test:
|
|
248
|
name: 根据商家ID修改商家信息(正确操作)
|
273
|
name: 根据商家ID修改商家信息(正确操作)
|
|
249
|
variable_binds:
|
274
|
variable_binds:
|
|
250
|
- - id: "15"
|
|
|
|
251
|
- - name: "呷哺修改1"
|
|
|
|
252
|
- - phone: "18022222222"
|
|
|
|
253
|
- - map_address: "陕西省西安市"
|
|
|
|
254
|
- - long: "123"
|
|
|
|
255
|
- - lat: "456"
|
|
|
|
256
|
- - file: "/Users/orange/cover.jpeg"
|
|
|
|
257
|
- - image: "/Users/orange/cover.jpeg"
|
275
|
+ - id: $update_id
|
|
|
|
276
|
+ - name: $update_name
|
|
|
|
277
|
+ - phone: $update_phone
|
|
|
|
278
|
+ - map_address: $update_map_address
|
|
|
|
279
|
+ - long: $update_long
|
|
|
|
280
|
+ - lat: $update_lat
|
|
|
|
281
|
+ - file: $update_file
|
|
|
|
282
|
+ - image: $update_image
|
|
258
|
- multipart_encoder: ${get_data(id=$id,name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
283
|
- multipart_encoder: ${get_data(id=$id,name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
|
259
|
request:
|
284
|
request:
|
|
260
|
url: App.Seller.SetSellerById
|
285
|
url: App.Seller.SetSellerById
|
|
@@ -267,13 +292,13 @@ |
|
@@ -267,13 +292,13 @@ |
|
267
|
- test:
|
292
|
- test:
|
|
268
|
name: 根据商家ID修改商家信息(不填id)
|
293
|
name: 根据商家ID修改商家信息(不填id)
|
|
269
|
variable_binds:
|
294
|
variable_binds:
|
|
270
|
- - name: "呷哺修改1"
|
|
|
|
271
|
- - phone: "18022222222"
|
|
|
|
272
|
- - map_address: "陕西省西安市"
|
|
|
|
273
|
- - long: "123"
|
|
|
|
274
|
- - lat: "456"
|
|
|
|
275
|
- - file: "/Users/orange/cover.jpeg"
|
|
|
|
276
|
- - image: "/Users/orange/cover.jpeg"
|
295
|
+ - name: $update_name
|
|
|
|
296
|
+ - phone: $update_phone
|
|
|
|
297
|
+ - map_address: $update_map_address
|
|
|
|
298
|
+ - long: $update_long
|
|
|
|
299
|
+ - lat: $update_lat
|
|
|
|
300
|
+ - file: $update_file
|
|
|
|
301
|
+ - image: $update_image
|
|
277
|
- multipart_encoder: ${get_data(name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
302
|
- multipart_encoder: ${get_data(name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
|
278
|
request:
|
303
|
request:
|
|
279
|
url: App.Seller.SetSellerById
|
304
|
url: App.Seller.SetSellerById
|
|
@@ -287,13 +312,13 @@ |
|
@@ -287,13 +312,13 @@ |
|
287
|
- test:
|
312
|
- test:
|
|
288
|
name: 根据商家ID修改商家信息(不填name)
|
313
|
name: 根据商家ID修改商家信息(不填name)
|
|
289
|
variable_binds:
|
314
|
variable_binds:
|
|
290
|
- - id: "15"
|
|
|
|
291
|
- - phone: "18022222221"
|
|
|
|
292
|
- - map_address: "陕西省西安市"
|
|
|
|
293
|
- - long: "123"
|
|
|
|
294
|
- - lat: "456"
|
|
|
|
295
|
- - file: "/Users/orange/cover.jpeg"
|
|
|
|
296
|
- - image: "/Users/orange/cover.jpeg"
|
315
|
+ - id: $update_id
|
|
|
|
316
|
+ - phone: $update_phone
|
|
|
|
317
|
+ - map_address: $update_map_address
|
|
|
|
318
|
+ - long: $update_long
|
|
|
|
319
|
+ - lat: $update_lat
|
|
|
|
320
|
+ - file: $update_file
|
|
|
|
321
|
+ - image: $update_image
|
|
297
|
- multipart_encoder: ${get_data(id=$id,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
322
|
- multipart_encoder: ${get_data(id=$id,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
|
298
|
request:
|
323
|
request:
|
|
299
|
url: App.Seller.SetSellerById
|
324
|
url: App.Seller.SetSellerById
|
|
@@ -307,13 +332,13 @@ |
|
@@ -307,13 +332,13 @@ |
|
307
|
- test:
|
332
|
- test:
|
|
308
|
name: 根据商家ID修改商家信息(不填phone)
|
333
|
name: 根据商家ID修改商家信息(不填phone)
|
|
309
|
variable_binds:
|
334
|
variable_binds:
|
|
310
|
- - id: "15"
|
|
|
|
311
|
- - name: "呷哺修改2"
|
|
|
|
312
|
- - map_address: "陕西省西安市"
|
|
|
|
313
|
- - long: "123"
|
|
|
|
314
|
- - lat: "456"
|
|
|
|
315
|
- - file: "/Users/orange/cover.jpeg"
|
|
|
|
316
|
- - image: "/Users/orange/cover.jpeg"
|
335
|
+ - id: $update_id
|
|
|
|
336
|
+ - name: $update_name
|
|
|
|
337
|
+ - map_address: $update_map_address
|
|
|
|
338
|
+ - long: $update_long
|
|
|
|
339
|
+ - lat: $update_lat
|
|
|
|
340
|
+ - file: $update_file
|
|
|
|
341
|
+ - image: $update_image
|
|
317
|
- multipart_encoder: ${get_data(id=$id,name=$name,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
342
|
- multipart_encoder: ${get_data(id=$id,name=$name,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
|
318
|
request:
|
343
|
request:
|
|
319
|
url: App.Seller.SetSellerById
|
344
|
url: App.Seller.SetSellerById
|
|
@@ -327,13 +352,13 @@ |
|
@@ -327,13 +352,13 @@ |
|
327
|
- test:
|
352
|
- test:
|
|
328
|
name: 根据商家ID修改商家信息(不填map_address)
|
353
|
name: 根据商家ID修改商家信息(不填map_address)
|
|
329
|
variable_binds:
|
354
|
variable_binds:
|
|
330
|
- - id: "15"
|
|
|
|
331
|
- - name: "呷哺修改2"
|
|
|
|
332
|
- - phone: "18022222221"
|
|
|
|
333
|
- - long: "123"
|
|
|
|
334
|
- - lat: "456"
|
|
|
|
335
|
- - file: "/Users/orange/cover.jpeg"
|
|
|
|
336
|
- - image: "/Users/orange/cover.jpeg"
|
355
|
+ - id: $update_id
|
|
|
|
356
|
+ - name: $update_name
|
|
|
|
357
|
+ - phone: $update_phone
|
|
|
|
358
|
+ - long: $update_long
|
|
|
|
359
|
+ - lat: $update_lat
|
|
|
|
360
|
+ - file: $update_file
|
|
|
|
361
|
+ - image: $update_image
|
|
337
|
- multipart_encoder: ${get_data(id=$id,name=$name,phone=$phone,long=$long,lat=$lat,file=$file,image=$image)}
|
362
|
- multipart_encoder: ${get_data(id=$id,name=$name,phone=$phone,long=$long,lat=$lat,file=$file,image=$image)}
|
|
338
|
request:
|
363
|
request:
|
|
339
|
url: App.Seller.SetSellerById
|
364
|
url: App.Seller.SetSellerById
|
|
@@ -347,13 +372,13 @@ |
|
@@ -347,13 +372,13 @@ |
|
347
|
- test:
|
372
|
- test:
|
|
348
|
name: 根据商家ID修改商家信息(不填long)
|
373
|
name: 根据商家ID修改商家信息(不填long)
|
|
349
|
variable_binds:
|
374
|
variable_binds:
|
|
350
|
- - id: "15"
|
|
|
|
351
|
- - name: "呷哺修改2"
|
|
|
|
352
|
- - phone: "18022222221"
|
|
|
|
353
|
- - map_address: "陕西省西安市"
|
|
|
|
354
|
- - lat: "456"
|
|
|
|
355
|
- - file: "/Users/orange/cover.jpeg"
|
|
|
|
356
|
- - image: "/Users/orange/cover.jpeg"
|
375
|
+ - id: $update_id
|
|
|
|
376
|
+ - name: $update_name
|
|
|
|
377
|
+ - phone: $update_phone
|
|
|
|
378
|
+ - map_address: $update_map_address
|
|
|
|
379
|
+ - lat: $update_lat
|
|
|
|
380
|
+ - file: $update_file
|
|
|
|
381
|
+ - image: $update_image
|
|
357
|
- multipart_encoder: ${get_data(id=$id,name=$name,phone=$phone,map_address=$map_address,lat=$lat,file=$file,image=$image)}
|
382
|
- multipart_encoder: ${get_data(id=$id,name=$name,phone=$phone,map_address=$map_address,lat=$lat,file=$file,image=$image)}
|
|
358
|
request:
|
383
|
request:
|
|
359
|
url: App.Seller.SetSellerById
|
384
|
url: App.Seller.SetSellerById
|
|
@@ -367,13 +392,13 @@ |
|
@@ -367,13 +392,13 @@ |
|
367
|
- test:
|
392
|
- test:
|
|
368
|
name: 根据商家ID修改商家信息(不填lat)
|
393
|
name: 根据商家ID修改商家信息(不填lat)
|
|
369
|
variable_binds:
|
394
|
variable_binds:
|
|
370
|
- - id: "15"
|
|
|
|
371
|
- - name: "呷哺修改2"
|
|
|
|
372
|
- - phone: "18022222221"
|
|
|
|
373
|
- - map_address: "陕西省西安市"
|
|
|
|
374
|
- - long: "123"
|
|
|
|
375
|
- - file: "/Users/orange/cover.jpeg"
|
|
|
|
376
|
- - image: "/Users/orange/cover.jpeg"
|
395
|
+ - id: $update_id
|
|
|
|
396
|
+ - name: $update_name
|
|
|
|
397
|
+ - phone: $update_phone
|
|
|
|
398
|
+ - map_address: $update_map_address
|
|
|
|
399
|
+ - long: $update_long
|
|
|
|
400
|
+ - file: $update_file
|
|
|
|
401
|
+ - image: $update_image
|
|
377
|
- multipart_encoder: ${get_data(id=$id,name=$name,phone=$phone,map_address=$map_address,long=$long,file=$file,image=$image)}
|
402
|
- multipart_encoder: ${get_data(id=$id,name=$name,phone=$phone,map_address=$map_address,long=$long,file=$file,image=$image)}
|
|
378
|
request:
|
403
|
request:
|
|
379
|
url: App.Seller.SetSellerById
|
404
|
url: App.Seller.SetSellerById
|
|
@@ -387,13 +412,13 @@ |
|
@@ -387,13 +412,13 @@ |
|
387
|
- test:
|
412
|
- test:
|
|
388
|
name: 根据商家ID修改商家信息(不填file)
|
413
|
name: 根据商家ID修改商家信息(不填file)
|
|
389
|
variable_binds:
|
414
|
variable_binds:
|
|
390
|
- - id: "15"
|
|
|
|
391
|
- - name: "呷哺修改2"
|
|
|
|
392
|
- - phone: "18022222221"
|
|
|
|
393
|
- - map_address: "陕西省西安市"
|
|
|
|
394
|
- - long: "123"
|
|
|
|
395
|
- - lat: "456"
|
|
|
|
396
|
- - image: "/Users/orange/cover.jpeg"
|
415
|
+ - id: $update_id
|
|
|
|
416
|
+ - name: $update_name
|
|
|
|
417
|
+ - phone: $update_phone
|
|
|
|
418
|
+ - map_address: $update_map_address
|
|
|
|
419
|
+ - long: $update_long
|
|
|
|
420
|
+ - lat: $update_lat
|
|
|
|
421
|
+ - image: $update_image
|
|
397
|
- multipart_encoder: ${get_data(id=$id,name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,image=$image)}
|
422
|
- multipart_encoder: ${get_data(id=$id,name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,image=$image)}
|
|
398
|
request:
|
423
|
request:
|
|
399
|
url: App.Seller.SetSellerById
|
424
|
url: App.Seller.SetSellerById
|
|
@@ -407,13 +432,13 @@ |
|
@@ -407,13 +432,13 @@ |
|
407
|
- test:
|
432
|
- test:
|
|
408
|
name: 根据商家ID修改商家信息(不填image)
|
433
|
name: 根据商家ID修改商家信息(不填image)
|
|
409
|
variable_binds:
|
434
|
variable_binds:
|
|
410
|
- - id: "15"
|
|
|
|
411
|
- - name: "呷哺修改2"
|
|
|
|
412
|
- - phone: "18022222221"
|
|
|
|
413
|
- - map_address: "陕西省西安市"
|
|
|
|
414
|
- - long: "123"
|
|
|
|
415
|
- - lat: "456"
|
|
|
|
416
|
- - file: "/Users/orange/cover.jpeg"
|
435
|
+ - id: $update_id
|
|
|
|
436
|
+ - name: $update_name
|
|
|
|
437
|
+ - phone: $update_phone
|
|
|
|
438
|
+ - map_address: $update_map_address
|
|
|
|
439
|
+ - long: $update_long
|
|
|
|
440
|
+ - lat: $update_lat
|
|
|
|
441
|
+ - file: $update_file
|
|
417
|
- multipart_encoder: ${get_data(id=$id,name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file)}
|
442
|
- multipart_encoder: ${get_data(id=$id,name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file)}
|
|
418
|
request:
|
443
|
request:
|
|
419
|
url: App.Seller.SetSellerById
|
444
|
url: App.Seller.SetSellerById
|
|
@@ -427,14 +452,14 @@ |
|
@@ -427,14 +452,14 @@ |
|
427
|
- test:
|
452
|
- test:
|
|
428
|
name: 根据商家ID修改商家信息(重复name)
|
453
|
name: 根据商家ID修改商家信息(重复name)
|
|
429
|
variable_binds:
|
454
|
variable_binds:
|
|
430
|
- - id: "15"
|
|
|
|
431
|
- - name: "呷哺修改1"
|
|
|
|
432
|
- - phone: "18022222221"
|
|
|
|
433
|
- - map_address: "陕西省西安市"
|
|
|
|
434
|
- - long: "123"
|
|
|
|
435
|
- - lat: "456"
|
|
|
|
436
|
- - file: "/Users/orange/cover.jpeg"
|
|
|
|
437
|
- - image: "/Users/orange/cover.jpeg"
|
455
|
+ - id: $update_id
|
|
|
|
456
|
+ - name: $repeat_name
|
|
|
|
457
|
+ - phone: $update_phone
|
|
|
|
458
|
+ - map_address: $update_map_address
|
|
|
|
459
|
+ - long: $update_long
|
|
|
|
460
|
+ - lat: $update_lat
|
|
|
|
461
|
+ - file: $update_file
|
|
|
|
462
|
+ - image: $update_image
|
|
438
|
- multipart_encoder: ${get_data(id=$id,name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
463
|
- multipart_encoder: ${get_data(id=$id,name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
|
439
|
request:
|
464
|
request:
|
|
440
|
url: App.Seller.AddSeller
|
465
|
url: App.Seller.AddSeller
|
|
@@ -448,14 +473,14 @@ |
|
@@ -448,14 +473,14 @@ |
|
448
|
- test:
|
473
|
- test:
|
|
449
|
name: 根据商家ID修改商家信息(重复phone)
|
474
|
name: 根据商家ID修改商家信息(重复phone)
|
|
450
|
variable_binds:
|
475
|
variable_binds:
|
|
451
|
- - id: "15"
|
|
|
|
452
|
- - name: "呷哺修改2"
|
|
|
|
453
|
- - phone: "18022222222"
|
|
|
|
454
|
- - map_address: "陕西省西安市"
|
|
|
|
455
|
- - long: "123"
|
|
|
|
456
|
- - lat: "456"
|
|
|
|
457
|
- - file: "/Users/orange/cover.jpeg"
|
|
|
|
458
|
- - image: "/Users/orange/cover.jpeg"
|
476
|
+ - id: $update_id
|
|
|
|
477
|
+ - name: $norepeat_name
|
|
|
|
478
|
+ - phone: $repeat_phone
|
|
|
|
479
|
+ - map_address: $update_map_address
|
|
|
|
480
|
+ - long: $update_long
|
|
|
|
481
|
+ - lat: $update_lat
|
|
|
|
482
|
+ - file: $update_file
|
|
|
|
483
|
+ - image: $update_image
|
|
459
|
- multipart_encoder: ${get_data(id=$id,name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
484
|
- multipart_encoder: ${get_data(id=$id,name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
|
460
|
request:
|
485
|
request:
|
|
461
|
url: App.Seller.AddSeller
|
486
|
url: App.Seller.AddSeller
|
|
@@ -469,14 +494,14 @@ |
|
@@ -469,14 +494,14 @@ |
|
469
|
- test:
|
494
|
- test:
|
|
470
|
name: 根据商家ID修改商家信息(不存在的商家)
|
495
|
name: 根据商家ID修改商家信息(不存在的商家)
|
|
471
|
variable_binds:
|
496
|
variable_binds:
|
|
472
|
- - id: "500000"
|
|
|
|
473
|
- - name: "测试店修改"
|
|
|
|
474
|
- - phone: "1804342484"
|
|
|
|
475
|
- - map_address: "陕西省西安市"
|
|
|
|
476
|
- - long: "123"
|
|
|
|
477
|
- - lat: "456"
|
|
|
|
478
|
- - file: "/Users/orange/cover.jpeg"
|
|
|
|
479
|
- - image: "/Users/orange/cover.jpeg"
|
497
|
+ - id: $sellerid_no_str
|
|
|
|
498
|
+ - name: $norepeat_name
|
|
|
|
499
|
+ - phone: $norepeat_phone
|
|
|
|
500
|
+ - map_address: $update_map_address
|
|
|
|
501
|
+ - long: $update_long
|
|
|
|
502
|
+ - lat: $update_lat
|
|
|
|
503
|
+ - file: $update_file
|
|
|
|
504
|
+ - image: $update_image
|
|
480
|
- multipart_encoder: ${get_data(id=$id,name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
505
|
- multipart_encoder: ${get_data(id=$id,name=$name,phone=$phone,map_address=$map_address,long=$long,lat=$lat,file=$file,image=$image)}
|
|
481
|
request:
|
506
|
request:
|
|
482
|
url: App.Seller.SetSellerById
|
507
|
url: App.Seller.SetSellerById
|