更新门店cid

This commit is contained in:
苏尹岚
2020-09-11 17:29:56 +08:00
parent 059b0c7557
commit 1d6ad5f06d
6 changed files with 70 additions and 2 deletions

View File

@@ -825,3 +825,18 @@ func (c *StoreController) GetJdDeliveryArea() {
return retVal, "", err
})
}
// @Title 修改门店对应Cid个推推送uniapp消息用
// @Description 修改门店对应Cid个推推送uniapp消息用
// @Param token header string true "认证token"
// @Param storeID formData int true "门店ID"
// @Param clientID formData string true "cID"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /UpdateStorePushClient [post]
func (c *StoreController) UpdateStorePushClient() {
c.callUpdateStorePushClient(func(params *tStoreUpdateStorePushClientParams) (retVal interface{}, errCode string, err error) {
err = cms.UpdateStorePushClient(params.Ctx, params.StoreID, params.ClientID)
return retVal, "", err
})
}