This commit is contained in:
苏尹岚
2021-01-06 11:36:11 +08:00
parent 3b095fef4f
commit dbe86ab33b
7 changed files with 49 additions and 6 deletions

View File

@@ -556,3 +556,18 @@ func (c *User2Controller) GetJxShopUsers() {
return retVal, "", err
})
}
// @Title 更新用户上次浏览门店和品牌
// @Description 更新用户上次浏览门店和品牌
// @Param token header string true "认证token"
// @Param storeID formData int false "门店ID"
// @Param brandID formData int false "品牌ID"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /UpdateUserLastInfo [post]
func (c *User2Controller) UpdateUserLastInfo() {
c.callUpdateUserLastInfo(func(params *tUser2UpdateUserLastInfoParams) (retVal interface{}, errCode string, err error) {
err = cms.UpdateUserLastInfo(params.Ctx, params.StoreID, params.BrandID)
return retVal, "", err
})
}