Methods
(inner) get /app_info(partnerId, email, languageopt, timestamp, sign)
Parameters:
Name |
Type |
Attributes |
Description |
partnerId |
String(24)
|
|
合作方ID,和email至少一个必填 2022/8/1 |
email |
String(100)
|
|
合作方邮箱,和partnerId至少有一个必填,email优先级高于partnerId 2022/8/1 |
language |
String(50)
|
<optional>
|
语种,不传或无值将维持默认语种(简体中文)不会转换简繁体文字内容,目前支持:simplifiedChinese:简体中文,traditionalChinese:繁体中文 2022/2/28 |
timestamp |
String(10)
|
|
时间戳,值为秒值,长度10位,时间戳有效期:±10分钟 |
sign |
String(64)
|
|
签名 本接口可以不携带token |
Properties:
Name |
Type |
Attributes |
Description |
imagesUrl |
Object
|
|
app图标
Properties
Name |
Type |
Description |
url |
String(500)
|
图片url |
name |
String(100)
|
图片文件名 |
size |
Number
|
图片大小 |
|
partnerId |
String(24)
|
<optional>
|
合作方ID |
email |
String(100)
|
<optional>
|
合作方邮箱 |
title |
String(100)
|
|
app名称 |
systemTitle |
String(500)
|
<optional>
|
系统名称 |
systemDesc |
String(5000)
|
<optional>
|
系统说明 |
wxappId |
String(50)
|
<optional>
|
微信公众号appid |
Throws:
412 缺少partnerId
421 错误的email
Examples
请求示例:/app_info?partnerId=5e0457eee4e1ec234ca2d7c8×tamp=1570430536&sign=725085C8A709A4F16183B26FBB9E67A156A2F3D82D47CE00A067902EA006FA15
返回示例:
{
"imagesUrl":{
"url":"/uploads/2020/8/22/1598155026940.152.png",
"name":"152.png",
"size":7347
},
"partnerId":"5db99c55bffd494ce0229f59",
"title":"辨证云",
"systemTitle":"国医堂 | 中医全科专家系统",
"systemDesc":"您身边的国医大师",
"wxappId":"wx98301ed33839"
}