- 修复controller.DeleteRemoteStoreSkus中的bug
This commit is contained in:
@@ -131,7 +131,7 @@ func (c *SyncController) FullSyncStoresSkus() {
|
|||||||
// @Failure 200 {object} controllers.CallResult
|
// @Failure 200 {object} controllers.CallResult
|
||||||
// @router /DeleteRemoteStoreSkus [delete]
|
// @router /DeleteRemoteStoreSkus [delete]
|
||||||
func (c *SyncController) DeleteRemoteStoreSkus() {
|
func (c *SyncController) DeleteRemoteStoreSkus() {
|
||||||
c.callFullSyncStoresSkus(func(params *tSyncFullSyncStoresSkusParams) (retVal interface{}, errCode string, err error) {
|
c.callDeleteRemoteStoreSkus(func(params *tSyncDeleteRemoteStoreSkusParams) (retVal interface{}, errCode string, err error) {
|
||||||
db := dao.GetDB()
|
db := dao.GetDB()
|
||||||
var vendorIDs, storeIDs []int
|
var vendorIDs, storeIDs []int
|
||||||
if err = jxutils.Strings2Objs(params.StoreIDs, &storeIDs, params.VendorIDs, &vendorIDs); err != nil {
|
if err = jxutils.Strings2Objs(params.StoreIDs, &storeIDs, params.VendorIDs, &vendorIDs); err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user