套餐购买

getusershops

GET /getusershops

获取套餐商店信息,include cookie。

{arr: {shops: [{id: 1, name: "test1", price: "2.00",…}]}, ret: 1}

coupon_check

POST /user/coupon_check

检查商品优惠券是否可用。

Request Body

NameTypeDescription

coupon

string

优惠券码

shop

string

购买商品 ID

{ret: 1, name: "test1", credit: "0 %", total: "2.00元"}

buy

POST /user/buy

购买商品。

Request Body

NameTypeDescription

coupon

string

使用优惠券码

shop

string

要购买的商品 ID

{ret: 1, msg: "..."}

最后更新于