- DeleteWrongSpu
This commit is contained in:
@@ -55,3 +55,19 @@ func (c *InitDataController) PullJdOrder() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 删除错误创建的SPU
|
||||
// @Description 删除错误创建的SPU
|
||||
// @Param token header string true "认证token"
|
||||
// @Param toTime formData string true "结束时间"
|
||||
// @Param isAsync formData bool false "是否异步操作"
|
||||
// @Param isContinueWhenError formData bool false "单个同步失败是否继续,缺省false"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /DeleteWrongSpu [delete]
|
||||
func (c *InitDataController) DeleteWrongSpu() {
|
||||
c.callDeleteWrongSpu(func(params *tInitdataDeleteWrongSpuParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = initdata.DeleteWrongSpu(params.Ctx, params.IsAsync, params.IsContinueWhenError)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user