获取cookie
This commit is contained in:
parent
01de361e5c
commit
c8b469da38
|
@ -57,6 +57,7 @@ public class MeituanController {
|
|||
storeInfo.setStoreName(cookie.getWmPoiName());
|
||||
storeInfo.setStoreCookie(cookie.getCookie());
|
||||
storeInfo.setPlatformType(String.valueOf(cookie.getBingType()));
|
||||
storeInfo.setStoreCode(valueFromCookie("wmPoiId",cookie.getCookie()));
|
||||
storeInfo.setBindTime(new Date());
|
||||
return R.ok(busStoreInfoService.insertBusStoreInfo(storeInfo));
|
||||
}
|
||||
|
|
|
@ -63,6 +63,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="platformType != null">platform_type,</if>
|
||||
<if test="storeCode != null">store_code,</if>
|
||||
<if test="storeName != null">store_name,</if>
|
||||
<if test="storeAccount != null">store_account,</if>
|
||||
<if test="storePassword != null">store_password,</if>
|
||||
<if test="storeCookie != null">store_cookie,</if>
|
||||
<if test="storeBelong != null">store_belong,</if>
|
||||
<if test="grantStatus != null">grant_status,</if>
|
||||
<if test="returnVisitStatus != null">return_visit_status,</if>
|
||||
|
@ -83,6 +86,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="platformType != null">#{platformType},</if>
|
||||
<if test="storeCode != null">#{storeCode},</if>
|
||||
<if test="storeName != null">#{storeName},</if>
|
||||
<if test="storeAccount != null">#{storeAccount},</if>
|
||||
<if test="storePassword != null">#{storePassword},</if>
|
||||
<if test="storeCookie != null">#{storeCookie},</if>
|
||||
<if test="storeBelong != null">#{storeBelong},</if>
|
||||
<if test="grantStatus != null">#{grantStatus},</if>
|
||||
<if test="returnVisitStatus != null">#{returnVisitStatus},</if>
|
||||
|
@ -106,6 +112,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="platformType != null">platform_type = #{platformType},</if>
|
||||
<if test="storeCode != null">store_code = #{storeCode},</if>
|
||||
<if test="storeName != null">store_name = #{storeName},</if>
|
||||
<if test="storeAccount != null">store_account = #{storeAccount},</if>
|
||||
<if test="storePassword != null">store_password = #{storePassword},</if>
|
||||
<if test="storeCookie != null">store_cookie = #{storeCookie},</if>
|
||||
<if test="storeBelong != null">store_belong = #{storeBelong},</if>
|
||||
<if test="grantStatus != null">grant_status = #{grantStatus},</if>
|
||||
<if test="returnVisitStatus != null">return_visit_status = #{returnVisitStatus},</if>
|
||||
|
|
Loading…
Reference in New Issue