文档
测试

获取配置

GET
/api/api/app_config

接口描述

应用获取配置

响应参数

参数名
类型
描述
必填
al_oss
array
阿里云oss参数
必填
bucket_name
string
空间名称
必填
access_key_id
string
id
必填
access_key_secret
string
秘钥
必填
endpoint
string
上传地址
必填
domin
string
拼接域名
必填
reply
array
自动回复配置
必填
keywords
string
关键词 触发词
必填
content
string
回复内容
必填
apple_config
array
苹果相关配置
必填
version
string
版本号
必填
app_stroe_url
string
appstroe 下载地址
必填
system_config
array
系统相关配置
必填
customer_tel
string
客服电话
必填
url
array
配置地址
必填
xieyi
string
用户协议地址
必填
yinsi
string
隐私协议地址
必填
is_domestic
int
是否开启审核屏蔽 【根据 app_name 和 client 参数 以及当前版本号 判断】
必填
divination_class
list
占卜id 对应的 类 (IOS)
必填
android_index_hand
INT
首页首相按钮屏蔽 1 开启 2 屏蔽
必填
live_show_button
int
是否显示直播按钮(大师端开播按钮) 1 显示 0 隐藏
必填

说明 / 示例

``` { "status": 1, "data": { "al_oss": { "bucket_name": "zbtxzb", "access_key_id": "LTAI5tCYeqfwNabre7a4QxAw", "access_key_secret": "B1Oobs50xltgk7GnamaF53b3lc5GbL", "endpoint": "https://oss-cn-beijing.aliyuncs.com", "domin": "https://zbtxzb.oss-cn-beijing.aliyuncs.com" }, "url": { "xieyi": "http://bdsh5.ybdas.com/userRule", "yinsi": "http://bdsh5.ybdas.com/privacyRule" }, "reply": [ { "keywords": "你好", "content": "我好不好你怎么知道" }, { "keywords": "这个怎么解", "content": "你问我 我哪知道" }, { "keywords": "大师", "content": "别叫我大师 我只是一名普普通通的神职人员" }, { "keywords": "好的", "content": "好不好我不知道 反正我挺好" }, { "keywords": "怎么解决", "content": "你在说什么" } ], "apple_config": { "product": "com.zbtxia.ybds", "version": "1.0.0", "app_stroe_url": "https://apps.apple.com/us/app/%E5%8D%9C%E5%A4%A7%E5%B8%88/id1572620581", "vip_product": [ "com.zbtxia.ybds.dyl.9", "com.zbtxia.ybds.djl.48", "com.zbtxia.ybds.dbnl.88", "com.zbtxia.ybds.dnl.168", "com.zbtxia.ybds.dy.18", "com.zbtxia.ybds.dj.50", "com.zbtxia.ybds.dbn.108", "com.zbtxia.ybds.dn.208" ], "password": "4f92924567f64ab0af2a0cfd7030d377" }, "system_config": { "customer_tel": "4001899679" }, "divination_class": { "96": "DLHomeZhouyiListViewController", "104": "DLConstellationViewController", "111": "DLPlumViewController", "113": "DLWenWangViewController", "115": "DLTarotContainerViewController", "116": "DLWoodenViewController", "117": "DLTortoiseShellViewController", "119": "DLEightWordViewController", "120": "DLPhilosophyViewController", "121": "DLMayaMarkStartViewController", "122": "DLNameViewController", "123": "DLEightWordCalculationViewController", "124": "DLNameViewController", "125": "DLGameDreamViewController", "126": "DLNameViewController", "127": "DLNameViewController", "128": "DLNameViewController", "129": "DLNameViewController", "130": "DLNameViewController", "132": "DLMasterPointedExplainViewController", "133": "DLEightWordMarryViewController" }, "is_domestic": 0, "android_index_hand": "2", "live_show_button": "0" }, "message": "成功", "code": 0 } ```