Commit 6265b2bd by 林冲

docs(test-case): 新增企微群变更回调接口测试用例模板

- 增加成功创建4s店人员配置的测试用例
- 添加重复创建同一家4s店同一总部定价师的测试用例
- 补充总部定价师必填字段不能为空的负面测试用例
- 每个测试用例包含请求curl示例及响应截图说明
1 parent fcfde960
## 企微群变更回调
接口地址:/gsc-vcp-web-facade/storeConfig/create
### 1.成功创建4s店人员配置
请求curl:
```shell
curl --location --request POST 'http://gsc.dev.glsx.com.cn/gsc-vcp-web-facade/storeConfig/create?sessionId=0b58a34b-9a82-4afd-8993-164da1f4188b' \
--header 'Referer: http://localhost:8080/rop-scrm-stoassistant/router/swagger-ui/v3/index.html' \
--header 'X-Mock: true' \
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--header 'Host: gsc.dev.glsx.com.cn' \
--header 'Connection: keep-alive' \
--data-raw '{
"storeId": 84,
"storeName": "禄梓涵",
"pricingSpecialistId": "45",
"pricingSpecialistName": "董勇",
"staffPhone": "1321111111"
}'
```
![img.png](img.png)
### 2.测试重复创建同一家4s店的同一个总部定价师
请求curl:
```shell
curl --location --request POST 'http://gsc.dev.glsx.com.cn/gsc-vcp-web-facade/storeConfig/create?sessionId=0b58a34b-9a82-4afd-8993-164da1f4188b' \
--header 'Referer: http://localhost:8080/rop-scrm-stoassistant/router/swagger-ui/v3/index.html' \
--header 'X-Mock: true' \
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--header 'Host: gsc.dev.glsx.com.cn' \
--header 'Connection: keep-alive' \
--data-raw '{
"storeId": 84,
"storeName": "禄梓涵",
"pricingSpecialistId": "45",
"pricingSpecialistName": "董勇",
"staffPhone": "1321111111"
}'
```
![img_1.png](img_1.png)
### 3.测试总部定价师必填字段不能为空
```shell
curl --location --request POST 'http://gsc.dev.glsx.com.cn/gsc-vcp-web-facade/storeConfig/create?sessionId=0b58a34b-9a82-4afd-8993-164da1f4188b' \
--header 'Referer: http://localhost:8080/rop-scrm-stoassistant/router/swagger-ui/v3/index.html' \
--header 'X-Mock: true' \
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--header 'Host: gsc.dev.glsx.com.cn' \
--header 'Connection: keep-alive' \
--data-raw '{
"storeId": 84,
"storeName": "禄梓涵",
"pricingSpecialistId": "45",
"pricingSpecialistName": "董勇",
"staffPhone": ""
}'
```
![img_2.png](img_2.png)
\ No newline at end of file \ No newline at end of file
## 企微群变更回调
接口地址:/gsc-vcp-web-facade/storeConfig/create
### 1.成功创建4s店人员配置
请求curl:
```shell
curl --location --request POST 'http://gsc.dev.glsx.com.cn/gsc-vcp-web-facade/storeConfig/create?sessionId=0b58a34b-9a82-4afd-8993-164da1f4188b' \
--header 'Referer: http://localhost:8080/rop-scrm-stoassistant/router/swagger-ui/v3/index.html' \
--header 'X-Mock: true' \
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--header 'Host: gsc.dev.glsx.com.cn' \
--header 'Connection: keep-alive' \
--data-raw '{
"storeId": 84,
"storeName": "禄梓涵",
"pricingSpecialistId": "45",
"pricingSpecialistName": "董勇",
"staffPhone": "1321111111"
}'
```
![img.png](img.png)
### 2.测试重复创建同一家4s店的同一个总部定价师
请求curl:
```shell
curl --location --request POST 'http://gsc.dev.glsx.com.cn/gsc-vcp-web-facade/storeConfig/create?sessionId=0b58a34b-9a82-4afd-8993-164da1f4188b' \
--header 'Referer: http://localhost:8080/rop-scrm-stoassistant/router/swagger-ui/v3/index.html' \
--header 'X-Mock: true' \
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--header 'Host: gsc.dev.glsx.com.cn' \
--header 'Connection: keep-alive' \
--data-raw '{
"storeId": 84,
"storeName": "禄梓涵",
"pricingSpecialistId": "45",
"pricingSpecialistName": "董勇",
"staffPhone": "1321111111"
}'
```
![img_1.png](img_1.png)
### 3.测试总部定价师必填字段不能为空
```shell
curl --location --request POST 'http://gsc.dev.glsx.com.cn/gsc-vcp-web-facade/storeConfig/create?sessionId=0b58a34b-9a82-4afd-8993-164da1f4188b' \
--header 'Referer: http://localhost:8080/rop-scrm-stoassistant/router/swagger-ui/v3/index.html' \
--header 'X-Mock: true' \
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--header 'Host: gsc.dev.glsx.com.cn' \
--header 'Connection: keep-alive' \
--data-raw '{
"storeId": 84,
"storeName": "禄梓涵",
"pricingSpecialistId": "45",
"pricingSpecialistName": "董勇",
"staffPhone": ""
}'
```
![img_2.png](img_2.png)
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!