企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[TOC] ## 获取已设置的提示数据 ### URL >web/index.php?c=account&a=expired-message ### 请求方式 GET ### 请求参数 无 ### 返回数据 ``` { "message": { "errno": 0, "message": { "account": { //平台类型 "contain_type": [ 1, 3 ], "icon": "wi wi-wx-circle", "createurl": "./index.php?c=account&a=post-step&", "title": "公众号", "expired_message": { //自定义提示数据 "status": 0, //是否启用自定义提示 "message": "公众号到期了" //提示内容 } }, "wxapp": { "contain_type": [ 4, 7, 14 ], "icon": "wi wi-wxapp", "createurl": "./index.php?c=wxapp&a=post&do=design_method&", "title": "微信小程序" }, "webapp": { "contain_type": [ 5 ], "icon": "wi wi-pc-circle", "createurl": "./index.php?c=account&a=create&sign=webapp", "title": "PC" }, "phoneapp": { "contain_type": [ 6 ], "icon": "wi wi-app", "createurl": "./index.php?c=account&a=create&sign=phoneapp", "title": "APP" }, "xzapp": { "contain_type": [ 9, 10 ], "icon": "wi wi-xzapp", "createurl": "./index.php?c=xzapp&a=post-step&", "title": "熊掌号" }, "aliapp": { "contain_type": [ 11 ], "icon": "wi wi-aliapp", "createurl": "./index.php?c=account&a=create&sign=aliapp", "title": "支付宝小程序" }, "baiduapp": { "contain_type": [ 12 ], "icon": "wi wi-baiduapp", "createurl": "./index.php?c=account&a=create&sign=baiduapp", "title": "百度小程序" }, "toutiaoapp": { "contain_type": [ 13 ], "icon": "wi wi-toutiaoapp", "createurl": "./index.php?c=account&a=create&sign=toutiaoapp", "title": "头条小程序" } } }, "redirect": "", "type": "ajax" } ``` ## 编辑自定义提示 ### URL >/web/index.php?c=account&a=expired-message&do=save ### 请求方式 POST ### 请求参数 | 名称 | 类型 | 必填 | 描述 | | ----------- | :-----: | :-----: | ----------- | | account_type | string | 是 | 设置的平台类型:account, wxapp, webapp, phoneapp, xzapp, aliapp, baiduapp, toutiaoapp | | status | int | 是 | 状态 1 开启,0关闭 | | message | string | 是 | 自定义提示内容 | 请求时只post需要修改的字段即可 ### 返回数据 ``` { "message": { "errno": 0, "message": "保存设置成功" }, "redirect": "./index.php?c=account&a=expired-message&", "type": "ajax" } ```