功能管理列表
<p>欢迎使用ShowDoc!</p>
<p><strong>简要描述:</strong> </p>
<ul>
<li>功能管理列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>Index/features</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"respData": {
"brands": [
{
"id": "653",
"name": "娇莉芙武汉",
"appcode": "GZJLF001"
},
{
"id": "1133",
"name": "娇莉芙广州",
"appcode": "GZJLF002"
},
{
"id": "2202",
"name": "娇莉芙杭州",
"appcode": "HZJLF003"
},
{
"id": "3356",
"name": "娇莉芙珠海",
"appcode": "ZHJLF001"
},
{
"id": "3357",
"name": "娇莉芙惠州",
"appcode": "HZJLF001"
},
{
"id": "3474",
"name": "娇莉芙重庆",
"appcode": "CQJLF001"
},
{
"id": "3477",
"name": "美滴滴测试",
"appcode": "TEST0001"
},
{
"id": "11387",
"name": "娇莉芙清远",
"appcode": "QYJLF001"
},
{
"id": "11386",
"name": "娇莉芙中山江门",
"appcode": "ZSJLF001"
},
{
"id": "3479",
"name": "娇莉芙西北",
"appcode": "XAJLF001"
},
{
"id": "39066",
"name": "兰芬时代",
"appcode": "NBJLF001"
},
{
"id": "39067",
"name": "海茱雅",
"appcode": "HYGEIA01"
},
{
"id": "55713",
"name": "春尚美",
"appcode": "CSM00001"
},
{
"id": "55714",
"name": "美丽阳光",
"appcode": "MLYG0001"
},
{
"id": "55715",
"name": "琉璃丝美",
"appcode": "LLSM0001"
},
{
"id": "56031",
"name": "美滴滴",
"appcode": "MDD00001"
},
{
"id": "56212",
"name": "姿丽堂",
"appcode": "ZLT00001"
},
{
"id": "118656",
"name": "COCO",
"appcode": "COCO0001"
},
{
"id": "56207",
"name": "馥田诗•维纳斯",
"appcode": "FTS00001"
},
{
"id": "56217",
"name": "格莱娅",
"appcode": "GLY00001"
},
{
"id": "56388",
"name": "姹而明",
"appcode": "CEM00001"
},
{
"id": "57713",
"name": "美研博士",
"appcode": "MYBS0001"
},
{
"id": "95523",
"name": "易美链",
"appcode": "YML00001"
},
{
"id": "95625",
"name": "娇丽维漾",
"appcode": "JLWY0001"
},
{
"id": "122098",
"name": "养发发",
"appcode": "YFF00001"
},
{
"id": "122125",
"name": "安丽尔",
"appcode": "ALE00001"
},
{
"id": "128458",
"name": "修色SoSkin",
"appcode": "XS000001"
}
],
"arr": {
"1": {
"Field": "shop_type",
"Type": "tinyint(1)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "1",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "商城权限",
"state": null
},
"2": {
"Field": "day",
"Type": "int(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "0",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "号码变更周期",
"state": null
},
"3": {
"Field": "avatar_setting",
"Type": "tinyint(1)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "1",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "头像设置权限 ",
"state": null
},
"4": {
"Field": "tag_setting",
"Type": "tinyint(1)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "1",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "标签设置权限",
"state": null
},
"7": {
"Field": "beauticianTime_setting",
"Type": "tinyint(1)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "1",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "店长修改美容师日程权限",
"state": null
},
"8": {
"Field": "is_native",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "1",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "总店端页面更新方式",
"state": null
},
"9": {
"Field": "service_setting",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "0",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "店内会员项目的开关",
"state": null
},
"10": {
"Field": "share_setting",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "0",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "分享收入入口开关权限",
"state": null
},
"11": {
"Field": "bp_setting",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "0",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "美容院选择权限",
"state": null
},
"12": {
"Field": "isshare_setting",
"Type": "tinyint(1)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "1",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "钱包支付是否返佣权限",
"state": null
},
"13": {
"Field": "is_editusinfo",
"Type": "tinyint(1)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "0",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "是否有编辑用户信息权限",
"state": null
},
"14": {
"Field": "is_analy",
"Type": "tinyint(1)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "0",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "是否有编辑用户分析的权限",
"state": null
},
"15": {
"Field": "is_remark",
"Type": "tinyint(1)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "1",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "是否编辑服务备注的权限",
"state": null
},
"16": {
"Field": "is_reopen",
"Type": "tinyint(1)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "0",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "订单列表中服务备注权限",
"state": null
},
"17": {
"Field": "service_day",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "7",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "服务日程",
"state": null
},
"18": {
"Field": "is_userfile",
"Type": "tinyint(1)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "1",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "用户档案权限",
"state": null
},
"19": {
"Field": "show_day",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "7",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "用户端显示日程时间区间",
"state": null
},
"20": {
"Field": "change_day",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "7",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "管理端改签日程时间区间",
"state": null
},
"21": {
"Field": "is_freeze",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "0",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "解冻功能权限",
"state": null
},
"22": {
"Field": "direct_purchase",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "1",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "直购开关权限",
"state": null
},
"23": {
"Field": "number_setting",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "1",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "预约手机号修改权限",
"state": null
},
"24": {
"Field": "relation_setting",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "1",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "项目关联权限",
"state": null
},
"25": {
"Field": "paytime_setting",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "10",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "支付时间设置",
"state": null
},
"26": {
"Field": "is_reserve",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "0",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "在线预约是否显示该项目关联的快速预约属性的美容师权限",
"state": null
},
"27": {
"Field": "default_pay_method",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "1",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "默认支付方式权限",
"state": null
},
"28": {
"Field": "them_style",
"Type": "tinyint(1)",
"Collation": null,
"Null": "YES",
"Key": "",
"Default": "0",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "逛一逛模板使用权限",
"state": null
},
"29": {
"Field": "direct_shop_access",
"Type": "tinyint(1)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "0",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "后台直购权限",
"state": null
},
"30": {
"Field": "is_changebt",
"Type": "tinyint(1)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "0",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "是否有更改美容师的权限",
"state": null
},
"31": {
"Field": "diary_setting",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "0",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "美丽日记开关 0:关闭 1:开启",
"state": null
},
"32": {
"Field": "bargain",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "0",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "砍价功能开关 1:开启 0:关闭",
"state": null
},
"33": {
"Field": "pay_method_type",
"Type": "varchar(10)",
"Collation": "utf8_general_ci",
"Null": "YES",
"Key": "",
"Default": null,
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "定制服务支付方式 1:微信 2:支付宝 4:钱包 6:线下",
"state": null
},
"34": {
"Field": "package_give",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "2",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "套餐赠送方式 1:第一次支付成功赠送 2:最后一次支付成功赠送",
"state": null
},
"35": {
"Field": "quick_type",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "0",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "快速预约功能开关值 0",
"state": null
},
"36": {
"Field": "collage",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "1",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "拼团开关 1:开启 0:关闭",
"state": null
},
"37": {
"Field": "card_setting",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "1",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "卡项权限开关 1:开启 0:关闭",
"state": null
},
"38": {
"Field": "custom_service_setting",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "1",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "定制服务功能开关 1:开启 0:关闭",
"state": null
},
"39": {
"Field": "register_setting",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "1",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "管理端注册权限 1:开启 0:关闭",
"state": null
},
"40": {
"Field": "order_finish_setting",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "0",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "后台订单完成开关控制 1:开启 0:关闭",
"state": null
},
"41": {
"Field": "offpackage_add_setting",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "1",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "店内套餐项目添加权限开关 0:不可以添加, 1:可以添加",
"state": null
},
"42": {
"Field": "is_send_expireMes",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "0",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "是否发送项目的过期通知短信",
"state": null
},
"43": {
"Field": "message_send_setting",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "0",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "是否开放店内项目完成短信发送 1:是 0:否",
"state": null
},
"44": {
"Field": "user_belong_setting",
"Type": "tinyint(4)",
"Collation": null,
"Null": "NO",
"Key": "",
"Default": "0",
"Extra": "",
"Privileges": "select,insert,update,references",
"Comment": "会员调店功能开关 1:开启 0:关闭",
"state": null
}
},
"list": {
"shop_type": "0",
"day": "1",
"avatar_setting": "1",
"tag_setting": "1",
"beauticianTime_setting": "1",
"is_native": "1",
"service_setting": "1",
"share_setting": "1",
"bp_setting": "1",
"isshare_setting": "1",
"is_editusinfo": "1",
"is_analy": "1",
"is_remark": "1",
"is_reopen": "1",
"service_day": "1",
"is_userfile": "1",
"show_day": "1",
"change_day": "1",
"is_freeze": "1",
"direct_purchase": "1",
"number_setting": "1",
"relation_setting": "1",
"paytime_setting": "1",
"is_reserve": "1",
"default_pay_method": "1",
"them_style": "1",
"direct_shop_access": "1",
"is_changebt": "1",
"saveAppcode": "0",
"diary_setting": "0",
"bargain": "1",
"pay_method_type": "1",
"package_give": "1",
"quick_type": "0",
"collage": "1",
"card_setting": "1",
"custom_service_setting": "0",
"register_setting": "0",
"order_finish_setting": "0",
"offpackage_add_setting": "1",
"is_send_expireMes": "0",
"message_send_setting": "0",
"user_belong_setting": "1"
}
},
"respCode": 1000,
"respContent": "请求成功",
"redirect": "",
"respIdent": 1,
"respUrl": ""
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">arr</td>
<td style="text-align: left;">array</td>
<td>功能列表</td>
</tr>
<tr>
<td style="text-align: left;">-- Field</td>
<td style="text-align: left;">string</td>
<td>功能</td>
</tr>
<tr>
<td style="text-align: left;">-- Comment</td>
<td style="text-align: left;">string</td>
<td>功能描述</td>
</tr>
<tr>
<td style="text-align: left;">list</td>
<td style="text-align: left;">array</td>
<td>默认商户对应功能的开启或者关闭 1开启 0关闭</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>