- Tigshop标准版
- 后台adminapi
- authority --- 权限组
- merchant ----商户
- apply --- 商户入驻申请
- merchant --- 商户管理
- shop --- 店铺管理
- shop_account --- 店铺资金
- shop_product_category --- 店铺商品分类
- admin_user_shop --- 店铺员工管理
- account ---商户账户
- shop_withdraw --- 店铺提现管理
- common --- 公共方法组
- content --- 文章组
- decorate --- 装修组
- promotion --- 营销组
- setting --- 配置组
- salesman --- 分销
- user --- 会员模块
- finance --- 财务组
- product --- 商品
- product_attributes --- 商品属性管理(待定)
- product_attributes_tpl --- 商品属性模板管理
- product_inventory_log --- 商品库存日志管理
- product_batch --- 商品批量处理管理
- product_services --- 商品服务
- e_card_group --- 电子卡券组
- e_card --- 电子卡券
- product_group ---商品分组
- shop_product_category ---店铺商品分类 (待定)
- price_inquiry --- 询价管理
- brand --- 品牌管理
- category --- 商品分类管理
- comment --- 商品评论管理
- product --- 商品管理
- panel --- 统计面板组
- lang --- 多语言
- login --- 登录组
- order---订单组
- msg --- 消息管理组
- 前台api
- search --- 搜索
- merchant --- 商户
- article --- 文章
- salesman --- 分销
- product --- 商品
- order --- 订单
- category --- 商品分类
- home --- 首页
- cart --- 购物车
- user --- 会员中心
- common --- 公共方法
- shop --- 店铺
- IM
- 安装
新增商户
开发中
POST
/adminapi/merchant/merchant/create
请求参数
Body 参数application/json
object {0}
示例
{
"admin": {
"type": 1,
"user_id": 90,
"admin_id": null
},
"base_data": {
"type": 1,
"certificate_validity_period": 1,
"operating_term_type": 1,
"front_of_photo": [
{}
],
"back_of_photo": [
{}
],
"license_addr_province": [],
"supplementary_information": [],
"document_type": 1,
"corporate_name": "hhhh"
},
"merchant_data": {
"business_address": [],
"account_opening_permit": [
{}
],
"business_license_img": [
{}
]
},
"type": 1
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/adminapi/merchant/merchant/create' \
--header 'Content-Type: application/json' \
--data-raw '{
"admin": {
"type": 1,
"user_id": 90,
"admin_id": null
},
"base_data": {
"type": 1,
"certificate_validity_period": 1,
"operating_term_type": 1,
"front_of_photo": [
{}
],
"back_of_photo": [
{}
],
"license_addr_province": [],
"supplementary_information": [],
"document_type": 1,
"corporate_name": "hhhh"
},
"merchant_data": {
"business_address": [],
"account_opening_permit": [
{}
],
"business_license_img": [
{}
]
},
"type": 1
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"code": 0,
"msg": "ok",
"data": {
"filter_result": [
{
"role_id": 11,
"role_name": "南昌1",
"role_desc": "个人设置角色",
"authority_list": [
"all"
]
}
],
"filter": {
"keyword": "",
"page": 1,
"size": 15,
"sort_field": "role_id",
"sort_order": "desc"
},
"total": 7,
"errcode": 0,
"message": ""
}
}
🟠404失败
修改于 2025-03-12 02:31:56