续费页面
开发中
GET
https://shopqno4z0sv.yixiangonline.com/adminapi/settings.shop.renew/index
请求参数
Header 参数
version
string
可选
默认值:
2.0
token
string
可选
默认值:
{{ptoken}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://shopqno4z0sv.yixiangonline.com/adminapi/settings.shop.renew/index' \
--header 'version: 2.0' \
--header 'token: {{ptoken}}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"meal_name": "测试新套餐-edit",
"meal_prices": [
{
"id": 60,
"set_meal_id": 10,
"time": 1,
"time_type": 1,
"price": "10.00",
"create_time": "2022-11-27 20:07:58",
"time_desc": "1个月"
},
{
"id": 61,
"set_meal_id": 10,
"time": 2,
"time_type": 2,
"price": "180.00",
"create_time": "2022-11-27 20:07:58",
"time_desc": "2年"
}
],
"pay_ways": {
"online": [
{
"id": 177,
"name": "微信支付",
"pay_way": 2,
"icon": "https://likeshopb2cplusdoukai.yixiangonline.com/resource/image/adminapi/pay/wechat.png",
"sort": 100,
"remark": "",
"sid": 0,
"delete_time": null
},
{
"id": 178,
"name": "支付宝支付",
"pay_way": 3,
"icon": "https://likeshopb2cplusdoukai.yixiangonline.com/resource/image/adminapi/pay/alipay.png",
"sort": 150,
"remark": "",
"sid": 0,
"delete_time": null
}
],
"offline": [
{
"id": 179,
"name": "对公转账",
"pay_way": 5,
"icon": "https://shopqno4z0sv.yixiangonline.com/resource/image/adminapi/pay/balance.png",
"sort": 50,
"remark": null,
"sid": 0,
"delete_time": null
}
]
}
}
}
修改于 2022-11-29 07:04:31