品牌添加
<p><strong>简要描述:</strong> </p>
<ul>
<li>品牌添加</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>BeautyParlor/addBrand</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>
<tr>
<td style="text-align: left;">appcode</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>商户编号(可为空)</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"respData": {
"brands": [
{
"id": "653",
"industry_id": "1",
"appcode": "GZJLF001",
"name": "娇莉芙武汉"
},
{
"id": "1133",
"industry_id": "1",
"appcode": "GZJLF002",
"name": "娇莉芙广州"
},
{
"id": "2202",
"industry_id": "1,2",
"appcode": "HZJLF003",
"name": "娇莉芙杭州"
},
{
"id": "3356",
"industry_id": "1,2",
"appcode": "ZHJLF001",
"name": "娇莉芙珠海"
},
{
"id": "3357",
"industry_id": "1,2",
"appcode": "HZJLF001",
"name": "娇莉芙惠州"
},
{
"id": "3474",
"industry_id": "1,2",
"appcode": "CQJLF001",
"name": "娇莉芙重庆"
},
{
"id": "3477",
"industry_id": "1,2",
"appcode": "TEST0001",
"name": "美滴滴测试"
},
{
"id": "11387",
"industry_id": "1",
"appcode": "QYJLF001",
"name": "娇莉芙清远"
},
{
"id": "11386",
"industry_id": "1,2",
"appcode": "ZSJLF001",
"name": "娇莉芙中山江门"
},
{
"id": "3479",
"industry_id": "1",
"appcode": "XAJLF001",
"name": "娇莉芙西北"
},
{
"id": "39066",
"industry_id": "1",
"appcode": "NBJLF001",
"name": "兰芬时代"
},
{
"id": "39067",
"industry_id": "1",
"appcode": "HYGEIA01",
"name": "海茱雅"
},
{
"id": "55713",
"industry_id": "1",
"appcode": "CSM00001",
"name": "春尚美"
},
{
"id": "55714",
"industry_id": "1",
"appcode": "MLYG0001",
"name": "美丽阳光"
},
{
"id": "55715",
"industry_id": "1",
"appcode": "LLSM0001",
"name": "琉璃丝美"
},
{
"id": "56031",
"industry_id": "1,2",
"appcode": "MDD00001",
"name": "美滴滴"
},
{
"id": "56212",
"industry_id": "1",
"appcode": "ZLT00001",
"name": "姿丽堂"
},
{
"id": "118656",
"industry_id": "1,3,7",
"appcode": "COCO0001",
"name": "COCO"
},
{
"id": "56207",
"industry_id": "1,2,3",
"appcode": "FTS00001",
"name": "馥田诗•维纳斯"
},
{
"id": "56217",
"industry_id": "1",
"appcode": "GLY00001",
"name": "格莱娅"
},
{
"id": "56388",
"industry_id": "1",
"appcode": "CEM00001",
"name": "姹而明"
},
{
"id": "57713",
"industry_id": "1,2",
"appcode": "MYBS0001",
"name": "美研博士"
},
{
"id": "95523",
"industry_id": "1,2",
"appcode": "YML00001",
"name": "易美链"
},
{
"id": "95625",
"industry_id": "1",
"appcode": "JLWY0001",
"name": "娇丽维漾"
},
{
"id": "122098",
"industry_id": "2",
"appcode": "YFF00001",
"name": "养发发"
},
{
"id": "122125",
"industry_id": "1",
"appcode": "ALE00001",
"name": "安丽尔"
},
{
"id": "128458",
"industry_id": "1",
"appcode": "XS000001",
"name": "修色SoSkin"
}
],
"induData": [
{
"id": "1",
"brandcode": "DZ000004",
"brand_name": "娇莉芙",
"appcode": "GZJLF001",
"contacts": "程慧",
"telphone": "4008590969",
"createtime": "0",
"edittime": "1542350133",
"state": "1",
"type": "1",
"industry_id": "1",
"industry_name": "美容",
"bp_name": "美容院",
"bt_name": "美容师",
"industry_desc": "",
"sort": "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;">brands</td>
<td style="text-align: left;">array</td>
<td>商户列表(管理员才有)</td>
</tr>
<tr>
<td style="text-align: left;">induData</td>
<td style="text-align: left;">array</td>
<td>默认行业列表</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!欢迎使用ShowDoc!</p>