更新门店cid
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user