[sheet-service] updated price slot option
This commit is contained in:
parent
79a5630c7e
commit
77fe041792
2 changed files with 94 additions and 48 deletions
13
README.md
13
README.md
|
|
@ -76,7 +76,18 @@ PUBLISH sheet-service/swap/menu '{"type": "sheet","payload": {"user_info": {"uid
|
|||
### Get price payload by productCode
|
||||
|
||||
```
|
||||
PUBLISH sheet-service/price '{"type": "sheet","payload": {"user_info": {"uid": "xxxxxxxxxxxxxxxxxxxxxxxxxx"},"srv_name": "sheet-service","values": {"country": "tha","content": [{"product_code": "12-99-02-99"}, {"product_code": "12-01-01-0009"}]}}}'
|
||||
PUBLISH sheet-service/price '{"type": "sheet","payload": {"user_info": {"uid": "xxxxxxxxxxxxxxxxxxxxxxxxxx"},"srv_name": "sheet-service","values": {"country": "tha","option": "All","content": [{"product_code": "12-99-02-99"}, {"product_code": "12-01-01-0009"}]}}}'
|
||||
```
|
||||
|
||||
### Get price slot list available
|
||||
|
||||
```
|
||||
PUBLISH sheet-service/price '{"type": "sheet","payload": {"user_info": {"uid": "xxxxxxxxxxxxxxxxxxxxxxxxxx"},"srv_name": "sheet-service","values": {"country": "tha","option": "PriceSlot"}}}'
|
||||
```
|
||||
|
||||
### Get price slot payload by sheet name Ex. PriceSlot5
|
||||
```
|
||||
PUBLISH sheet-service/price '{"type": "sheet","payload": {"user_info": {"uid": "xxxxxxxxxxxxxxxxxxxxxxxxxx"},"srv_name": "sheet-service","values": {"country": "tha","option": "PriceSlot5"}}}'
|
||||
```
|
||||
|
||||
## PUBLISH sheet-service/add/price
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue