Authored by ZhongW

Update getShopBrandRank.md

# 获取店铺的品牌排名,当前等级、排名、上升名词
> 接口名: `/bigdata/getShopBrandRank` 例子(http://127.0.0.1:8091/bigdata/bigdata/getShopBrandRank)
### 方法
> POST JSONRAW
### 入参
-------------------------
|属性名称|类型|例子|说明|是否必填|长度限制|
|--------|----|----|---|----|--------|
|brandId|number||品牌id|Y||
|dateId|number||日期|Y|20160524|
### 对应SQL的操作库表
```xml
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Long" >
select
<include refid="Base_Column_List" />
from shop_brand_rank
where brand_id = #{brandId} order by date_id desc limit 1
</select>
```
### 错误编码
-------------------------
|错误码code|消息|说明|
|--------|----|----|
|200| 查询成功!| |
|401| 参数错误!| |
### 返回
``` json
{
"alg": "SALT_MD5",
"code": 200,
"data": {
"brandId": 1200,
"brandMainCategory": 2,
"dateId": 20160524,
"rankChange": 5,
"rankLevel": 1,
"rankNow": 15
},
"md5": "64cdf0d30ba9174ddce76ecf71a91ad8",
"message": "shop business overview."
}
# 获取店铺的品牌排名,当前等级、排名、上升名词
> 接口名: `/bigdata/getShopBrandRank` 例子(http://127.0.0.1:8091/bigdata/bigdata/getShopBrandRank)
### 方法
> POST JSONRAW
### 入参
-------------------------
|属性名称|类型|例子|说明|是否必填|长度限制|
|--------|----|----|---|----|--------|
|shopId|number||店铺id|Y||
|dateId|number||日期|N|20160524|
### 对应SQL的操作库表
```xml
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="com.yoho.bigData.dal.reqdao.BrandRanksDao" >
select
<include refid="Base_Column_List" />
from shop_brand_rank
where 1=1
<include refid="Select_BrandRanks"/>
order by date_id desc limit 1
</select>
```
### 错误编码
-------------------------
|错误码code|消息|说明|
|--------|----|----|
|200| 查询成功!| |
|401| 参数错误!| |
### 返回
``` json
{
"alg": "SALT_MD5",
"code": 200,
"data": {
"brandId": 1200,
"brandMainCategory": 2,
"dateId": 20160524,
"rankChange": 5,
"rankLevel": 1,
"rankNow": 15
},
"md5": "64cdf0d30ba9174ddce76ecf71a91ad8",
"message": "shop business overview."
}
```
\ No newline at end of file
... ...