[sheet-service] updated price slot option

This commit is contained in:
Ittipat Lusuk 2026-06-18 14:49:44 +07:00
parent 79a5630c7e
commit 77fe041792
2 changed files with 94 additions and 48 deletions

View file

@ -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