🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
[TOC] ### 获取应用权限组 #### URL >web/index.php?c=utility&a=group&do=module_groups&keyword=搜索关键词&page=页码 #### 请求方式 > GET #### 请求参数 | 名称 | 类型 | 必填 | 描述 | | ----------- | :-----: | :-----: | ----------- | | keyword | string | 否 | 搜索关键词 | | page | int | 否 | 页码 | #### 返回数据 ``` { "message": { "errno": 0, "message": { "total": 2, "page": 1, "page_size": 3, "keyword": "测试", "list": [ { "id": "123", "name": "测试新支持", //名称 "uniacid": "0", "modules": "a:8:{s:7:\"modules\";a:1:{i:0;s:8:\"we7_0511\";}s:5:\"wxapp\";a:0:{}s:6:\"webapp\";a:0:{}s:8:\"phoneapp\";a:0:{}s:5:\"xzapp\";a:0:{}s:6:\"aliapp\";a:0:{}s:8:\"baiduapp\";a:0:{}s:10:\"toutiaoapp\";a:0:{}}", "templates": "", "uid": "0", "modules_all": { //包含的所有模块 "we7_0511": { "mid": "8967", "name": "we7_0511", "type": "business", "title": "米粥测试模块", "title_initial": "M", "version": "2.2", "ability": "we7_0511", "desc<x>ription": "we7_0511", "author": "admin", "url": "we7_0511", "settings": "1", "subscribes": [], "handles": [], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "a:0:{}", "wxapp_support": "2", "account_support": "2", "welcome_support": "1", "webapp_support": "2", "oauth_type": "1", "phoneapp_support": "1", "xzapp_support": "1", "aliapp_support": "2", "logo": "http://prox.we7.com/addons/we7_0511/icon.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "preview": "http://prox.we7.com/addons/we7_0511/preview.jpg?v=1567503219", "main_module": false, "plugin_list": [], "recycle_info": [], "config": [], "enabled": "1", "displayorder": "7", "shortcut": "0", "module_shortcut": null, "group_support": { "wxapp_support": 1, "account_support": 2, "welcome_support": 1, "webapp_support": 1, "phoneapp_support": 1, "xzapp_support": 1, "aliapp_support": 1, "baiduapp_support": 1, "toutiaoapp_support": 1 } } }, "account": { "we7_0511": { "mid": "8967", "name": "we7_0511", "type": "business", "title": "米粥测试模块", "title_initial": "M", "version": "2.2", "ability": "we7_0511", "desc<x>ription": "we7_0511", "author": "admin", "url": "we7_0511", "settings": "1", "subscribes": [], "handles": [], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "a:0:{}", "wxapp_support": "2", "account_support": "2", "welcome_support": "1", "webapp_support": "2", "oauth_type": "1", "phoneapp_support": "1", "xzapp_support": "1", "aliapp_support": "2", "logo": "http://prox.we7.com/addons/we7_0511/icon.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "preview": "http://prox.we7.com/addons/we7_0511/preview.jpg?v=1567503219", "main_module": false, "plugin_list": [], "recycle_info": [], "config": [], "enabled": "1", "displayorder": "7", "shortcut": "0", "module_shortcut": null } } }, { "id": "122", "name": "测试哦", "uniacid": "0", "modules": "a:8:{s:7:\"modules\";a:2:{i:0;s:15:\"weliam_merchant\";i:1;s:14:\"we7_diyspecial\";}s:5:\"wxapp\";a:0:{}s:6:\"webapp\";a:0:{}s:8:\"phoneapp\";a:0:{}s:5:\"xzapp\";a:0:{}s:6:\"aliapp\";a:0:{}s:8:\"baiduapp\";a:0:{}s:10:\"toutiaoapp\";a:0:{}}", "templates": { "style19": { "id": "30", "name": "style19", "title": "微站默认模板19" }, "style20": { "id": "31", "name": "style20", "title": "微站默认模板20" } }, "uid": "0", "modules_all": { "weliam_merchant": { "mid": "9050", "name": "weliam_merchant", "type": "biz", "title": "智慧城市同城", "title_initial": "Z", "version": "3.1.69", "ability": "智慧城市同城", "desc<x>ription": "智慧城市同城", "author": "微连科技", "url": "http://bbs.we7.cc/", "settings": "0", "subscribes": [ "subscribe" ], "handles": [ "text", "image", "voice", "location", "subscribe", "qr", "trace", "click" ], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "a:0:{}", "wxapp_support": "1", "account_support": "2", "welcome_support": "1", "webapp_support": "1", "oauth_type": "1", "phoneapp_support": "1", "xzapp_support": "1", "aliapp_support": "1", "logo": "http://prox.we7.com/addons/weliam_merchant/icon-custom.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "preview": "http://prox.we7.com/addons/weliam_merchant/preview.jpg?v=1567503219", "main_module": false, "plugin_list": [ "weliam_merchant_plugin_distribution", "weliam_merchant_plugin_diyposter" ], "recycle_info": [], "config": [], "enabled": 1, "displayorder": null, "shortcut": null, "module_shortcut": null, "group_support": { "wxapp_support": 1, "account_support": 2, "welcome_support": 1, "webapp_support": 1, "phoneapp_support": 1, "xzapp_support": 1, "aliapp_support": 1, "baiduapp_support": 1, "toutiaoapp_support": 1 } }, "we7_diyspecial": { "mid": "9033", "name": "we7_diyspecial", "type": "activity", "title": "专题页面", "title_initial": "Z", "version": "1.6.3", "ability": "紧跟时代步伐,拥抱HTML5,做出属于我们自己的H5营销推广页面。", "desc<x>ription": "可制作两种类型的场景页:长单页场景、多页场景。\n\n一个专题页面只能制作一种类型的场景页。\n即一个专题页面,要么是长单页场景,要么是多页场景。", "author": "微擎团队", "url": "", "settings": "0", "subscribes": [], "handles": [ "text" ], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "a:0:{}", "wxapp_support": "1", "account_support": "2", "welcome_support": "1", "webapp_support": "1", "oauth_type": "1", "phoneapp_support": "1", "xzapp_support": "1", "aliapp_support": "1", "logo": "http://prox.we7.com/addons/we7_diyspecial/icon-custom.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "preview": "http://prox.we7.com/addons/we7_diyspecial/preview.jpg?v=1567503219", "main_module": false, "plugin_list": [], "recycle_info": [], "config": { "passive_li<x>nk_uniacid": [ 857, 940 ], "direct_enter": 1 }, "enabled": "1", "displayorder": "0", "shortcut": "1", "module_shortcut": null, "group_support": { "wxapp_support": 1, "account_support": 2, "welcome_support": 1, "webapp_support": 1, "phoneapp_support": 1, "xzapp_support": 1, "aliapp_support": 1, "baiduapp_support": 1, "toutiaoapp_support": 1 } } }, "account": { "weliam_merchant": { "mid": "9050", "name": "weliam_merchant", "type": "biz", "title": "智慧城市同城", "title_initial": "Z", "version": "3.1.69", "ability": "智慧城市同城", "desc<x>ription": "智慧城市同城", "author": "微连科技", "url": "http://bbs.we7.cc/", "settings": "0", "subscribes": [ "subscribe" ], "handles": [ "text", "image", "voice", "location", "subscribe", "qr", "trace", "click" ], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "a:0:{}", "wxapp_support": "1", "account_support": "2", "welcome_support": "1", "webapp_support": "1", "oauth_type": "1", "phoneapp_support": "1", "xzapp_support": "1", "aliapp_support": "1", "logo": "http://prox.we7.com/addons/weliam_merchant/icon-custom.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "preview": "http://prox.we7.com/addons/weliam_merchant/preview.jpg?v=1567503219", "main_module": false, "plugin_list": [ "weliam_merchant_plugin_distribution", "weliam_merchant_plugin_diyposter" ], "recycle_info": [], "config": [], "enabled": 1, "displayorder": null, "shortcut": null, "module_shortcut": null }, "we7_diyspecial": { "mid": "9033", "name": "we7_diyspecial", "type": "activity", "title": "专题页面", "title_initial": "Z", "version": "1.6.3", "ability": "紧跟时代步伐,拥抱HTML5,做出属于我们自己的H5营销推广页面。", "desc<x>ription": "可制作两种类型的场景页:长单页场景、多页场景。\n\n一个专题页面只能制作一种类型的场景页。\n即一个专题页面,要么是长单页场景,要么是多页场景。", "author": "微擎团队", "url": "", "settings": "0", "subscribes": [], "handles": [ "text" ], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "a:0:{}", "wxapp_support": "1", "account_support": "2", "welcome_support": "1", "webapp_support": "1", "oauth_type": "1", "phoneapp_support": "1", "xzapp_support": "1", "aliapp_support": "1", "logo": "http://prox.we7.com/addons/we7_diyspecial/icon-custom.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "preview": "http://prox.we7.com/addons/we7_diyspecial/preview.jpg?v=1567503219", "main_module": false, "plugin_list": [], "recycle_info": [], "config": { "passive_li<x>nk_uniacid": [ 857, 940 ], "direct_enter": 1 }, "enabled": "1", "displayorder": "0", "shortcut": "1", "module_shortcut": null } } } ] } }, "redirect": "", "type": "ajax" } ``` ### 用户权限组 #### URL > web/index.php?c=utility&a=group&do=user_groups&keyword=搜索关键词&page=页码 #### 请求方式 > GET #### 请求参数 | 名称 | 类型 | 必填 | 描述 | | ----------- | :-----: | :-----: | ----------- | | keyword | string | 否 | 搜索关键词 | | page | int | 否 | 页码 | #### 返回数据 ``` { "message": { "errno": 0, "message": { "total": 4, "page": 1, "page_size": 3, "keyword": "", "list": [ { "id": "54", "owner_uid": "0", "name": "aaa", //用户组名称 "package": [ 132 ], "maxaccount": "2", //可创建公众号个数 "timelimit": "永久有效", //有效期 "maxwxapp": "1", //可创建小程序个数 "maxwebapp": "1", "maxphoneapp": "2", "maxxzapp": "1", "maxaliapp": "0", "maxbaiduapp": "0", "maxtoutiaoapp": "0", "package_num": 1 //包含的应用权限组个数 }, { "id": "56", "owner_uid": "0", "name": "用户权限组测试新支持", "package": [ 123, 122 ], "maxaccount": "2", "timelimit": "永久有效", "maxwxapp": "3", "maxwebapp": "4", "maxphoneapp": "5", "maxxzapp": "6", "maxaliapp": "7", "maxbaiduapp": "8", "maxtoutiaoapp": "9", "package_num": 2 }, { "id": "57", "owner_uid": "0", "name": "体验组", "package": [ 133 ], "maxaccount": "2", "timelimit": "20天", "maxwxapp": "0", "maxwebapp": "0", "maxphoneapp": "0", "maxxzapp": "0", "maxaliapp": "0", "maxbaiduapp": "0", "maxtoutiaoapp": "0", "package_num": 1 } ] } }, "redirect": "", "type": "ajax" } ``` ### 获取某一用户权限组详情 #### URL > web/index.php?c=utility&a=group&do=get_user_group_detail_info&user_group_id=用户组ID #### 请求方式 > GET #### 返回数据 ``` { "message": { "errno": 0, "message": { "id": "56", "owner_uid": "0", "name": "用户权限组测试新支持", //用户组名称 "package": [ 123, 122 ], "maxaccount": "2", //创建公众号账号个数 "timelimit": "0", //用户组有效期(单位:天),0为永久 "maxwxapp": "3", //创建微信小程序号账号个数 "maxwebapp": "4", //创建PC号账号个数 "maxphoneapp": "5", //创建APP号账号个数 "maxxzapp": "6", //创建熊账号账号个数 "maxaliapp": "7", //创建支付宝小程序号账号个数 "maxbaiduapp": "8", //创建百度小程序号账号个数 "maxtoutiaoapp": "9", //创建头条小程序号账号个数 "package_detail": { //用户组下包含的应用组详情 "122": { "id": "122", "name": "测试哦", //应用组名称 "uniacid": "0", "modules": "a:8:{s:7:\"modules\";a:2:{i:0;s:15:\"weliam_merchant\";i:1;s:14:\"we7_diyspecial\";}s:5:\"wxapp\";a:1:{i:0;s:11:\"zxsite_shop\";}s:6:\"webapp\";a:0:{}s:8:\"phoneapp\";a:0:{}s:5:\"xzapp\";a:1:{i:0;s:27:\"ewei_shopping_plugin_notice\";}s:6:\"aliapp\";a:0:{}s:8:\"baiduapp\";a:0:{}s:10:\"toutiaoapp\";a:0:{}}", "templates": { "style19": { "id": "30", "name": "style19", "title": "微站默认模板19" }, "style20": { "id": "31", "name": "style20", "title": "微站默认模板20" } }, "uid": "0", "modules_all": { //应用组所有模块 "weliam_merchant": { "mid": "9050", "name": "weliam_merchant", "type": "biz", "title": "智慧城市同城", "title_initial": "Z", "version": "3.1.69", "ability": "智慧城市同城", "desc<x>ription": "智慧城市同城", "author": "微连科技", "url": "http://bbs.we7.cc/", "settings": "0", "subscribes": [ "subscribe" ], "handles": [ "text", "image", "voice", "location", "subscribe", "qr", "trace", "click" ], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "a:0:{}", "wxapp_support": "1", "account_support": "2", "welcome_support": "1", "webapp_support": "1", "oauth_type": "1", "phoneapp_support": "1", "xzapp_support": "1", "aliapp_support": "1", "logo": "http://prox.we7.com/addons/weliam_merchant/icon-custom.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "preview": "http://prox.we7.com/addons/weliam_merchant/preview.jpg?v=1569223003", "main_module": false, "plugin_list": [ "weliam_merchant_plugin_distribution", "weliam_merchant_plugin_diyposter" ], "recycle_info": [], "config": [], "enabled": 1, "displayorder": null, "shortcut": null, "module_shortcut": null, "group_support": { "wxapp_support": 1, "account_support": 2, "welcome_support": 1, "webapp_support": 1, "phoneapp_support": 1, "xzapp_support": 1, "aliapp_support": 1, "baiduapp_support": 1, "toutiaoapp_support": 1 } }, "we7_diyspecial": { "mid": "9033", "name": "we7_diyspecial", "type": "activity", "title": "专题页面", "title_initial": "Z", "version": "1.6.3", "ability": "紧跟时代步伐,拥抱HTML5,做出属于我们自己的H5营销推广页面。", "desc<x>ription": "可制作两种类型的场景页:长单页场景、多页场景。\n\n一个专题页面只能制作一种类型的场景页。\n即一个专题页面,要么是长单页场景,要么是多页场景。", "author": "微擎团队", "url": "", "settings": "0", "subscribes": [], "handles": [ "text" ], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "a:0:{}", "wxapp_support": "1", "account_support": "2", "welcome_support": "1", "webapp_support": "1", "oauth_type": "1", "phoneapp_support": "1", "xzapp_support": "1", "aliapp_support": "1", "logo": "http://prox.we7.com/addons/we7_diyspecial/icon-custom.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "preview": "http://prox.we7.com/addons/we7_diyspecial/preview.jpg?v=1569223003", "main_module": false, "plugin_list": [], "recycle_info": [], "config": { "passive_li<x>nk_uniacid": [ 857, 940 ], "direct_enter": 1 }, "enabled": "1", "displayorder": "0", "shortcut": "1", "module_shortcut": null, "group_support": { "wxapp_support": 1, "account_support": 2, "welcome_support": 1, "webapp_support": 1, "phoneapp_support": 1, "xzapp_support": 1, "aliapp_support": 1, "baiduapp_support": 1, "toutiaoapp_support": 1 } }, "zxsite_shop": { "mid": "9049", "name": "zxsite_shop", "type": "business", "title": "智信小程序商城", "title_initial": "Z", "version": "3.9.14", "ability": "智信小程序商城", "desc<x>ription": "智信小程序商城", "author": "zhangqgc", "url": "http://bbs.we7.cc", "settings": "0", "subscribes": [], "handles": [], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "a:0:{}", "wxapp_support": "2", "account_support": "1", "welcome_support": "1", "webapp_support": "1", "oauth_type": "1", "phoneapp_support": "1", "xzapp_support": "1", "aliapp_support": "1", "logo": "http://prox.we7.com/addons/zxsite_shop/icon.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "preview": "http://prox.we7.com/addons/zxsite_shop/preview.jpg?v=1569223003", "main_module": false, "plugin_list": [], "recycle_info": [], "config": [], "enabled": 1, "displayorder": null, "shortcut": null, "module_shortcut": null, "group_support": { "wxapp_support": 2, "account_support": 1, "welcome_support": 1, "webapp_support": 1, "phoneapp_support": 1, "xzapp_support": 1, "aliapp_support": 1, "baiduapp_support": 1, "toutiaoapp_support": 1 } } }, "account": { //应用组下所有公众号模块 "weliam_merchant": { "mid": "9050", "name": "weliam_merchant", "type": "biz", "title": "智慧城市同城", "title_initial": "Z", "version": "3.1.69", "ability": "智慧城市同城", "desc<x>ription": "智慧城市同城", "author": "微连科技", "url": "http://bbs.we7.cc/", "settings": "0", "subscribes": [ "subscribe" ], "handles": [ "text", "image", "voice", "location", "subscribe", "qr", "trace", "click" ], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "a:0:{}", "wxapp_support": "1", "account_support": "2", "welcome_support": "1", "webapp_support": "1", "oauth_type": "1", "phoneapp_support": "1", "xzapp_support": "1", "aliapp_support": "1", "logo": "http://prox.we7.com/addons/weliam_merchant/icon-custom.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "preview": "http://prox.we7.com/addons/weliam_merchant/preview.jpg?v=1569223003", "main_module": false, "plugin_list": [ "weliam_merchant_plugin_distribution", "weliam_merchant_plugin_diyposter" ], "recycle_info": [], "config": [], "enabled": 1, "displayorder": null, "shortcut": null, "module_shortcut": null }, "we7_diyspecial": { "mid": "9033", "name": "we7_diyspecial", "type": "activity", "title": "专题页面", "title_initial": "Z", "version": "1.6.3", "ability": "紧跟时代步伐,拥抱HTML5,做出属于我们自己的H5营销推广页面。", "desc<x>ription": "可制作两种类型的场景页:长单页场景、多页场景。\n\n一个专题页面只能制作一种类型的场景页。\n即一个专题页面,要么是长单页场景,要么是多页场景。", "author": "微擎团队", "url": "", "settings": "0", "subscribes": [], "handles": [ "text" ], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "a:0:{}", "wxapp_support": "1", "account_support": "2", "welcome_support": "1", "webapp_support": "1", "oauth_type": "1", "phoneapp_support": "1", "xzapp_support": "1", "aliapp_support": "1", "logo": "http://prox.we7.com/addons/we7_diyspecial/icon-custom.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "preview": "http://prox.we7.com/addons/we7_diyspecial/preview.jpg?v=1569223003", "main_module": false, "plugin_list": [], "recycle_info": [], "config": { "passive_li<x>nk_uniacid": [ 857, 940 ], "direct_enter": 1 }, "enabled": "1", "displayorder": "0", "shortcut": "1", "module_shortcut": null } }, "wxapp": {//应用组下所有微信小程序模块 "zxsite_shop": { "mid": "9049", "name": "zxsite_shop", "type": "business", "title": "智信小程序商城", "title_initial": "Z", "version": "3.9.14", "ability": "智信小程序商城", "desc<x>ription": "智信小程序商城", "author": "zhangqgc", "url": "http://bbs.we7.cc", "settings": "0", "subscribes": [], "handles": [], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "a:0:{}", "wxapp_support": "2", "account_support": "1", "welcome_support": "1", "webapp_support": "1", "oauth_type": "1", "phoneapp_support": "1", "xzapp_support": "1", "aliapp_support": "1", "logo": "http://prox.we7.com/addons/zxsite_shop/icon.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "preview": "http://prox.we7.com/addons/zxsite_shop/preview.jpg?v=1569223003", "main_module": false, "plugin_list": [], "recycle_info": [], "config": [], "enabled": 1, "displayorder": null, "shortcut": null, "module_shortcut": null } }, "xzapp": { /应用组下所有熊掌号模块 "ewei_shopping_plugin_notice": { "mid": "8970", "name": "ewei_shopping_plugin_notice", "type": "business", "title": "微商城公告", "title_initial": "W", "version": "1.0", "ability": "微商城公告", "desc<x>ription": "微商城公告", "author": "微擎团队", "url": "", "settings": "0", "subscribes": [], "handles": [], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "a:0:{}", "wxapp_support": "1", "account_support": "1", "welcome_support": "1", "webapp_support": "2", "oauth_type": "1", "phoneapp_support": "1", "xzapp_support": "2", "aliapp_support": "1", "logo": "http://prox.we7.com/addons/ewei_shopping_plugin_notice/icon.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "preview": "http://prox.we7.com/addons/ewei_shopping_plugin_notice/preview.jpg?v=1569223003", "main_module": false, "plugin_list": [], "recycle_info": [], "config": [], "enabled": "1", "displayorder": "9", "shortcut": "0", "module_shortcut": null } } }, "123": { "id": "123", "name": "测试新支持", "uniacid": "0", "modules": "a:8:{s:7:\"modules\";a:1:{i:0;s:8:\"we7_0511\";}s:5:\"wxapp\";a:0:{}s:6:\"webapp\";a:0:{}s:8:\"phoneapp\";a:0:{}s:5:\"xzapp\";a:0:{}s:6:\"aliapp\";a:0:{}s:8:\"baiduapp\";a:0:{}s:10:\"toutiaoapp\";a:0:{}}", "templates": "", "uid": "0", "modules_all": { "we7_0511": { "mid": "8967", "name": "we7_0511", "type": "business", "title": "米粥测试模块", "title_initial": "M", "version": "2.2", "ability": "we7_0511", "desc<x>ription": "we7_0511", "author": "admin", "url": "we7_0511", "settings": "1", "subscribes": [], "handles": [], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "a:0:{}", "wxapp_support": "2", "account_support": "2", "welcome_support": "1", "webapp_support": "2", "oauth_type": "1", "phoneapp_support": "1", "xzapp_support": "1", "aliapp_support": "2", "logo": "http://prox.we7.com/addons/we7_0511/icon.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "preview": "http://prox.we7.com/addons/we7_0511/preview.jpg?v=1569223003", "main_module": false, "plugin_list": [], "recycle_info": [], "config": [], "enabled": "1", "displayorder": "7", "shortcut": "0", "module_shortcut": null, "group_support": { "wxapp_support": 1, "account_support": 2, "welcome_support": 1, "webapp_support": 1, "phoneapp_support": 1, "xzapp_support": 1, "aliapp_support": 1, "baiduapp_support": 1, "toutiaoapp_support": 1 } } }, "account": { "we7_0511": { "mid": "8967", "name": "we7_0511", "type": "business", "title": "米粥测试模块", "title_initial": "M", "version": "2.2", "ability": "we7_0511", "desc<x>ription": "we7_0511", "author": "admin", "url": "we7_0511", "settings": "1", "subscribes": [], "handles": [], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "a:0:{}", "wxapp_support": "2", "account_support": "2", "welcome_support": "1", "webapp_support": "2", "oauth_type": "1", "phoneapp_support": "1", "xzapp_support": "1", "aliapp_support": "2", "logo": "http://prox.we7.com/addons/we7_0511/icon.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "preview": "http://prox.we7.com/addons/we7_0511/preview.jpg?v=1569223003", "main_module": false, "plugin_list": [], "recycle_info": [], "config": [], "enabled": "1", "displayorder": "7", "shortcut": "0", "module_shortcut": null } } } }, "user_group_modules_all": { //用户组下所有应用 "we7_0511": { "mid": "8967", "name": "we7_0511", "type": "business", "title": "米粥测试模块", "title_initial": "M", "version": "2.2", "ability": "we7_0511", "desc<x>ription": "we7_0511", "author": "admin", "url": "we7_0511", "settings": "1", "subscribes": [], "handles": [], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "a:0:{}", "wxapp_support": "2", "account_support": "2", "welcome_support": "1", "webapp_support": "2", "oauth_type": "1", "phoneapp_support": "1", "xzapp_support": "1", "aliapp_support": "2", "logo": "http://prox.we7.com/addons/we7_0511/icon.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "preview": "http://prox.we7.com/addons/we7_0511/preview.jpg?v=1569223003", "main_module": false, "plugin_list": [], "recycle_info": [], "config": [], "enabled": "1", "displayorder": "7", "shortcut": "0", "module_shortcut": null, "group_support": { "wxapp_support": 1, "account_support": 2, "welcome_support": 1, "webapp_support": 1, "phoneapp_support": 1, "xzapp_support": 1, "aliapp_support": 1, "baiduapp_support": 1, "toutiaoapp_support": 1 } }, "weliam_merchant": { "mid": "9050", "name": "weliam_merchant", "type": "biz", "title": "智慧城市同城", "title_initial": "Z", "version": "3.1.69", "ability": "智慧城市同城", "desc<x>ription": "智慧城市同城", "author": "微连科技", "url": "http://bbs.we7.cc/", "settings": "0", "subscribes": [ "subscribe" ], "handles": [ "text", "image", "voice", "location", "subscribe", "qr", "trace", "click" ], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "a:0:{}", "wxapp_support": "1", "account_support": "2", "welcome_support": "1", "webapp_support": "1", "oauth_type": "1", "phoneapp_support": "1", "xzapp_support": "1", "aliapp_support": "1", "logo": "http://prox.we7.com/addons/weliam_merchant/icon-custom.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "preview": "http://prox.we7.com/addons/weliam_merchant/preview.jpg?v=1569223003", "main_module": false, "plugin_list": [ "weliam_merchant_plugin_distribution", "weliam_merchant_plugin_diyposter" ], "recycle_info": [], "config": [], "enabled": 1, "displayorder": null, "shortcut": null, "module_shortcut": null, "group_support": { "wxapp_support": 1, "account_support": 2, "welcome_support": 1, "webapp_support": 1, "phoneapp_support": 1, "xzapp_support": 1, "aliapp_support": 1, "baiduapp_support": 1, "toutiaoapp_support": 1 } }, "we7_diyspecial": { "mid": "9033", "name": "we7_diyspecial", "type": "activity", "title": "专题页面", "title_initial": "Z", "version": "1.6.3", "ability": "紧跟时代步伐,拥抱HTML5,做出属于我们自己的H5营销推广页面。", "desc<x>ription": "可制作两种类型的场景页:长单页场景、多页场景。\n\n一个专题页面只能制作一种类型的场景页。\n即一个专题页面,要么是长单页场景,要么是多页场景。", "author": "微擎团队", "url": "", "settings": "0", "subscribes": [], "handles": [ "text" ], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "a:0:{}", "wxapp_support": "1", "account_support": "2", "welcome_support": "1", "webapp_support": "1", "oauth_type": "1", "phoneapp_support": "1", "xzapp_support": "1", "aliapp_support": "1", "logo": "http://prox.we7.com/addons/we7_diyspecial/icon-custom.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "preview": "http://prox.we7.com/addons/we7_diyspecial/preview.jpg?v=1569223003", "main_module": false, "plugin_list": [], "recycle_info": [], "config": { "passive_li<x>nk_uniacid": [ 857, 940 ], "direct_enter": 1 }, "enabled": "1", "displayorder": "0", "shortcut": "1", "module_shortcut": null, "group_support": { "wxapp_support": 1, "account_support": 2, "welcome_support": 1, "webapp_support": 1, "phoneapp_support": 1, "xzapp_support": 1, "aliapp_support": 1, "baiduapp_support": 1, "toutiaoapp_support": 1 } }, "zxsite_shop": { "mid": "9049", "name": "zxsite_shop", "type": "business", "title": "智信小程序商城", "title_initial": "Z", "version": "3.9.14", "ability": "智信小程序商城", "desc<x>ription": "智信小程序商城", "author": "zhangqgc", "url": "http://bbs.we7.cc", "settings": "0", "subscribes": [], "handles": [], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "a:0:{}", "wxapp_support": "2", "account_support": "1", "welcome_support": "1", "webapp_support": "1", "oauth_type": "1", "phoneapp_support": "1", "xzapp_support": "1", "aliapp_support": "1", "logo": "http://prox.we7.com/addons/zxsite_shop/icon.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "preview": "http://prox.we7.com/addons/zxsite_shop/preview.jpg?v=1569223003", "main_module": false, "plugin_list": [], "recycle_info": [], "config": [], "enabled": 1, "displayorder": null, "shortcut": null, "module_shortcut": null, "group_support": { "wxapp_support": 2, "account_support": 1, "welcome_support": 1, "webapp_support": 1, "phoneapp_support": 1, "xzapp_support": 1, "aliapp_support": 1, "baiduapp_support": 1, "toutiaoapp_support": 1 } } } } }, "redirect": "", "type": "ajax" } ``` ### 获取微站模板 #### URL >web/index.php?c=utility&a=modules&do=templates&keyword=搜索关键词&page=页码 #### 请求方式 > GET #### 请求参数 | 名称 | 类型 | 必填 | 描述 | | ----------- | :-----: | :-----: | ----------- | | keyword | string | 否 | 搜索关键词 | | page | int | 否 | 页码 | #### 返回数据 ``` { "message": { "errno": 0, "message": { "keyword": "6", "page": 1, "page_size": 6, "total": "6", "list": [ { "id": "197", "name": "style16", "title": "微站默认模板16", "logo": "http://prox.we7.com/app/themes/style16/preview.jpg" }, { "id": "44", "name": "style26", "title": "微站默认模板26", "logo": "http://prox.we7.com/app/themes/style26/preview.jpg" }, { "id": "82", "name": "style36", "title": "微站默认模板36", "logo": "http://prox.we7.com/app/themes/style36/preview.jpg" }, { "id": "117", "name": "style46", "title": "微站默认模板46", "logo": "http://prox.we7.com/app/themes/style46/preview.jpg" }, { "id": "193", "name": "style56", "title": "微站默认模板56", "logo": "http://prox.we7.com/app/themes/style56/preview.jpg" }, { "id": "205", "name": "style6", "title": "微站默认模板6", "logo": "http://prox.we7.com/app/themes/style6/preview.jpg" } ] } }, "redirect": "", "type": "ajax" } ``` ### 获取当前用户可操作的应用模块 #### URL >web/index.php?c=utility&a=modules&do=modules&sign=平台账号类型英文标识&keyword=关键字 #### 请求方式 > GET #### 请求参数 | 名称 | 类型 | 必填 | 描述 | 值 | | ----------- | :-----: | :-----: | ----------- | | account_type_sign | string | 否 | 平台账号类型英文标识([所有标识](http://s.w7.cc/index.php?c=wiki&do=view&id=383&list=3231 "所有标识")) | | | keyword | string | 否 | 搜索关键词 | | | page | int | 否 | 当前页码 | | #### 返回数据 ``` { "message": { "errno": 0, "message": { "total": 2, "page": 1, "page_size": 10, "keyword": "", "account_type_sign": "account", // "list": { "weliam_merchant": { "mid": "9050", "name": "weliam_merchant", "type": "biz", "title": "智慧城市同城", "title_initial": "Z", "version": "3.1.69", "ability": "智慧城市同城", "desc<x>ription": "智慧城市同城", "author": "微连科技", "url": "http://bbs.we7.cc/", "settings": "0", "subscribes": [ "subscribe" ], "handles": [ "text", "image", "voice", "location", "subscribe", "qr", "trace", "click" ], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "a:0:{}", "wxapp_support": "1", "account_support": "2", "welcome_support": "1", "webapp_support": "1", "oauth_type": "1", "phoneapp_support": "1", "xzapp_support": "1", "aliapp_support": "1", "logo": "http://prox.we7.com/addons/weliam_merchant/icon-custom.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "main_module": "", "plugin_list": [ "weliam_merchant_plugin_distribution", "weliam_merchant_plugin_diyposter" ] }, "we7_wmall": { "mid": "794", "name": "we7_wmall", "type": "business", "title": "微擎外送|外卖|餐饮|生鲜|超市系统", "title_initial": "W", "version": "1.3", "ability": "微擎外送|外卖|餐饮|生鲜|超市系统11", "desc<x>ription": "微擎外送|外卖|餐饮|生鲜|超市系统", "author": "微擎团队&灯火阑珊", "url": "http://bbs.we7.cc/", "settings": "0", "subscribes": [], "handles": [ "location", "text" ], "isrulefields": "0", "issystem": "0", "target": "0", "iscard": "0", "permissions": "N;", "wxapp_support": "1", "account_support": "2", "welcome_support": "1", "webapp_support": "1", "oauth_type": "0", "phoneapp_support": "1", "xzapp_support": "1", "aliapp_support": "1", "logo": "http://prox.we7.com/addons/we7_wmall/icon.jpg", "baiduapp_support": "1", "toutiaoapp_support": "1", "from": "cloud", "isdisplay": 1, "main_module": "", "plugin_list": [] } } } }, "redirect": "", "type": "ajax" } ``` ### 获取账号权限组 #### URL >/web/index.php?c=utility&a=group&do=account_groups&keyword=搜索关键词&page=页码 #### 请求方式 > GET #### 请求参数 | 名称 | 类型 | 必填 | 描述 | | ----------- | :-----: | :-----: | ----------- | | keyword | string | 否 | 搜索关键词 | | page | int | 否 | 页码 | #### 返回数据 ``` { "message": { "errno": 0, "message": { "total": "3", "page": 1, "page_size": 3, "keyword": "", "list": [ { "id": "14", "group_name": "账户 权限组-aaa", "maxaccount": "2", "maxwxapp": "2", "maxwebapp": "2", "maxphoneapp": "2", "maxxzapp": "2", "maxaliapp": "2", "createtime": "0", "maxbaiduapp": "0", "maxtoutiaoapp": "0" }, { "id": "15", "group_name": "账号权限组demo", "maxaccount": "4", "maxwxapp": "5", "maxwebapp": "6", "maxphoneapp": "7", "maxxzapp": "8", "maxaliapp": "9", "createtime": "0", "maxbaiduapp": "3", "maxtoutiaoapp": "2" }, { "id": "16", "group_name": "2", "maxaccount": "1", "maxwxapp": "0", "maxwebapp": "0", "maxphoneapp": "0", "maxxzapp": "0", "maxaliapp": "0", "createtime": "0", "maxbaiduapp": "0", "maxtoutiaoapp": "0" } ] } }, "redirect": "", "type": "ajax" } ```