SSPanel-API
  • SSPanel-API-doc
  • 用户认证
  • 用户信息
    • 用户签到
    • 用户流量信息
    • 基本用户信息
      • info.ann
      • info.user
    • 用户邀请信息
      • inviteInfo.paybacks
    • 节点信息
      • nodeinfo.nodes
        • nodeinfo.nodes.raw_node
  • 用户设置
    • 个人信息设置
    • 安全设置
    • 连接设置
    • 工单系统
  • 套餐商店
    • 用户充值
    • 套餐购买
      • arr.shops
由 GitBook 提供支持
在本页
  • getusershops
  • coupon_check
  • buy

这有帮助吗?

  1. 套餐商店

套餐购买

getusershops

GET /getusershops

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

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

coupon_check

POST /user/coupon_check

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

Request Body

Name
Type
Description

coupon

string

优惠券码

shop

string

购买商品 ID

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

buy

POST /user/buy

购买商品。

Request Body

Name
Type
Description

coupon

string

使用优惠券码

shop

string

要购买的商品 ID

{ret: 1, msg: "..."}
上一页用户充值下一页arr.shops

最后更新于4年前

这有帮助吗?