基础信息维护接口
获取第三方信息
请求方式:
POST
Query Parameters:
Name |
Documentation |
TypeName |
|
access_token |
全局access_token |
string |
|
返回值
Name |
Annotations |
Documentation |
TypeName |
|
AppId |
[] |
appid |
integer |
|
PPicBackground |
[] |
设置背景图权限 |
integer |
|
PicBackground |
[] |
背景图图片链接 |
string |
|
WebTitle |
[] |
网站标题 |
string |
|
PLogo1 |
[] |
默认logo权限 |
integer |
|
DLogo1 |
[] |
默认logo是否显示 |
integer |
|
PicLogo1 |
[] |
默认logo路径 |
string |
|
PLogo2 |
[] |
自定义logo权限 |
integer |
|
DLogo2 |
[] |
自定义logo是否显示 |
integer |
|
PicLogo2 |
[] |
自定义logo路径 |
string |
|
PBottomLine |
[] |
底部文字权限 |
integer |
|
BottomLine |
[] |
底部文字内容 |
string |
|
UrlBottomLine |
[] |
底部文字链接 |
string |
|
PUrl |
[] |
右上角按钮权限 |
integer |
|
UrlHomePage |
[] |
首页路径 |
string |
|
UrlHelp |
[] |
帮助中心路径 |
string |
|
PApp |
[] |
app按钮权限 |
integer |
|
DApp |
[] |
app按钮是否显示 |
integer |
|
PicApp |
[] |
app按钮图片链接 |
string |
|
PCs |
[] |
在线客服权限 |
integer |
|
DCs |
[] |
在线客服是否显示 |
integer |
|
UrlCs |
[] |
在线客服链接 |
string |
|
PWcGroup |
[] |
微信群权限 |
integer |
|
DWcGroup |
[] |
微信群是否显示 |
integer |
|
PicWcGroup |
[] |
微信群图片链接 |
string |
|
PQQGroup |
[] |
QQ群权限 |
integer |
|
DQQGroup |
[] |
QQ群是否显示 |
integer |
|
NumQQGroup |
[] |
QQ群图片链接 |
string |
|
PWcAccount |
[] |
微信公众号权限 |
integer |
|
DWcAccount |
[] |
微信公众号是否显示 |
integer |
|
PicWcAccount |
[] |
微信公众号图片链接 |
string |
|
HideBarcode |
[] |
是否隐藏二维码 |
integer |
|
HideRegistration |
[] |
是否隐藏注册 |
integer |
|
OnlyAuthenticated |
[] |
是否只允许第三方登录 |
integer |
|
MobileWebSite |
[] |
移动端首页 |
string |
|
PPicLogoJ |
[] |
记账左上角logo权限 |
integer |
|
PicLogoJ |
[] |
记账左上角logo路径 |
string |
|
PPicLogoM |
[] |
移动端首页logo权限 |
integer |
|
PicLogoM |
[] |
移动端首页logo路径 |
string |
|
AgentSn |
[] |
分销系统标识 |
string |
|
SelfDb |
[] |
保存到自建库 |
integer |
|
ShowJxc |
[] |
是否展示进销存 |
integer |
|
LoginHosts |
[] |
统一登陆站点 |
string |
|
ByPostMessage |
[] |
是否使用 postMessage 的方式 |
integer |
|
返回示例
{
"app_id": 1,
"ppic_background": 2,
"pic_background": "sample string 3",
"web_title": "sample string 4",
"plogo1": 5,
"dlogo1": 6,
"pic_logo1": "sample string 7",
"plogo2": 8,
"dlogo2": 9,
"pic_logo2": "sample string 10",
"pbottom_line": 11,
"bottom_line": "sample string 12",
"url_bottom_line": "sample string 13",
"purl": 14,
"url_home_page": "sample string 15",
"url_help": "sample string 16",
"papp": 17,
"dapp": 18,
"pic_app": "sample string 19",
"pcs": 20,
"dcs": 21,
"url_cs": "sample string 22",
"pwc_group": 23,
"dwc_group": 24,
"pic_wc_group": "sample string 25",
"pqqgroup": 26,
"dqqgroup": 27,
"num_qqgroup": "sample string 28",
"pwc_account": 29,
"dwc_account": 30,
"pic_wc_account": "sample string 31",
"hide_barcode": 32,
"hide_registration": 33,
"only_authenticated": 34,
"mobile_web_site": "sample string 35",
"ppic_logo_j": 36,
"pic_logo_j": "sample string 37",
"ppic_logo_m": 38,
"pic_logo_m": "sample string 39",
"agent_sn": "sample string 40",
"self_db": 41,
"show_jxc": 42,
"login_hosts": "sample string 43",
"by_post_message": 44
}
组织架构管理
创建组织
请求方式:
POST
Query Parameters:
Name |
Documentation |
TypeName |
|
access_token |
全局access_token |
string |
|
Body
Name |
Documentation |
typeName |
|
OrgId |
ID |
integer |
|
OrgName |
Name |
string |
|
返回值
Name |
Annotations |
Documentation |
TypeName |
|
OrgId |
[] |
ID |
integer |
|
OrgName |
[] |
Name |
string |
|
返回示例
{
"org_id": 1,
"org_name": "sample string 2"
}
查询组织
请求方式:
GET
请求参数:
Name |
Documentation |
TypeName |
|
access_token |
全局access_token |
string |
|
orgId |
组织机构ID |
integer |
|
返回值
Name |
Annotations |
Documentation |
TypeName |
|
OrgId |
[] |
ID |
integer |
|
OrgName |
[] |
Name |
string |
|
返回示例
{
"org_id": 1,
"org_name": "sample string 2"
}
更新组织
请求方式:
PUT
Query Parameters:
Name |
Documentation |
TypeName |
|
access_token |
全局access_token |
string |
|
Body
Name |
Documentation |
typeName |
|
OrgId |
ID |
integer |
|
OrgName |
Name |
string |
|
返回值
Name |
Annotations |
Documentation |
TypeName |
|
result |
[] |
结果字符串 |
string |
|
返回示例
{
"result": "succeeded"
}
删除组织
请求方式:
DELETE
Query Parameters:
Name |
Documentation |
TypeName |
|
access_token |
全局access_token |
string |
|
orgId |
组织机构ID |
integer |
|
返回值
Name |
Annotations |
Documentation |
TypeName |
|
result |
[] |
结果字符串 |
string |
|
返回示例
{
"result": "succeeded"
}
验证码
发送验证码
请求方式:
POST
请求参数:
Name |
Documentation |
TypeName |
|
access_token |
全局access_token |
string |
|
tempid |
短信类别 |
string |
|
返回值
Name |
Annotations |
Documentation |
TypeName |
|
result |
[] |
结果字符串 |
string |
|
返回示例
{
"result": "succeeded"
}
验证验证码
请求方式:
GET
请求参数:
Name |
Documentation |
TypeName |
|
access_token |
全局access_token |
string |
|
mobile |
手机号 |
string |
|
vericode |
验证码 |
string |
|
返回值
Name |
Annotations |
Documentation |
TypeName |
|
result |
[] |
结果字符串 |
string |
|
返回示例
{
"result": "correct"
}