验证各平台cookie是否失效
This commit is contained in:
@@ -44,5 +44,11 @@ func (c *EventController) GetOperateEvents() {
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetCheckVendorCookie [get]
|
||||
func (c *EventController) GetCheckVendorCookie() {
|
||||
|
||||
var vendorIDList []int
|
||||
c.callGetCheckVendorCookie(func(params *tEventGetCheckVendorCookieParams) (retVal interface{}, errCode string, err error) {
|
||||
if jxutils.Strings2Objs(params.VendorIDs, &vendorIDList); err == nil {
|
||||
retVal, err = event.GetCheckVendorCookie(params.Ctx, vendorIDList, false)
|
||||
}
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user