feat(wxapi): 新增代商家管理小程序 We 分析相关接口

This commit is contained in:
Fu Diwei
2022-10-27 13:00:33 +08:00
parent e1afec5855
commit 652f5c1bd2
24 changed files with 696 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
{
"errcode": 0,
"errmsg": "OK",
"component_appid": "wxxxxxxxxxxxx",
"component_nickname": "example",
"recheck_url": "url address",
"appinfo": [
{
"appid": "yyyyyyyyyyyyy",
"nickname": "associate_app"
}
]
}

View File

@@ -0,0 +1,36 @@
{
"errcode": 0,
"errmsg": "OK",
"perm": [
{
"perm_id": "10000",
"name": "全站全量权限",
"desc": "具备所有模块的所有权限"
},
{
"perm_id": "10001",
"name": "全站只读权限",
"desc": "具备所有模块的“查看”权限。但没有“创建”、“编辑”、“下载”、“删除”的权限"
},
{
"perm_id": "10002",
"name": "访问分析权限",
"desc": "除“核心数据(交易)”、“交易分析”、“经营分析”的相关权限"
},
{
"perm_id": "10003",
"name": "交易分析权限",
"desc": "仅有“核心数据(交易)”、“交易分析”、“经营分析”的相关权限"
},
{
"perm_id": "10004",
"name": "数据开发权限",
"desc": "仅有“性能质量”、“数据管理”的相关权限"
},
{
"perm_id": "500000702",
"name": "测试一个新的权限",
"desc": "描述描述描述测试一个新的权限"
}
]
}

View File

@@ -0,0 +1,6 @@
{
"user_session": "session_key",
"uid": "test",
"client_ip": "127.0.0.1",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36"
}

View File

@@ -0,0 +1,8 @@
{
"base_resp": {
"ret": 0,
"err_msg": "OK"
},
"redirect_url": "https://wedata.weixin.qq.com/mp2/supplier/login?open_login=1&open_sid=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"expire_at": 1663818592
}

View File

@@ -0,0 +1,27 @@
{
"errcode": 0,
"errmsg": "OK",
"info": [
{
"uid": "test",
"create_time": 1663728070,
"update_time": 1663728119,
"nickname": "xxx",
"head_url": "http://wx.qlogo.cn/mmhead/xxxxxxxxxxxxxxxxxxxxxxx",
"is_bind": 1,
"perm": [
{
"perm_id": "10001",
"name": "全站只读权限",
"desc": "具备所有模块的“查看”权限。但没有“创建”、“编辑”、“下载”、“删除”的权限"
}
]
},
{
"uid": "example",
"create_time": 1663664719,
"update_time": 1663664941,
"is_bind": 0
}
]
}

View File

@@ -0,0 +1,5 @@
{
"set_type": 1,
"recheck_url": "xxxxxxxxx",
"associate_appid": [ "xxxxxxxxx" ]
}

View File

@@ -0,0 +1,13 @@
{
"uid": "example",
"perm": [
{
"perm_id": "10001",
"name": "全站只读权限"
},
{
"perm_id": "10002",
"name": "访问分析权限"
}
]
}