同步京东门店
This commit is contained in:
@@ -634,3 +634,16 @@ func (c *StoreController) RefreshJdLevel() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 同步指定京东门店
|
||||
// @Description 同步京东门店
|
||||
// @Param token header string true "认证token"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /SyncJdStore [post]
|
||||
func (c *StoreController) SyncJdStore() {
|
||||
c.callSyncJdStore(func(params *tStoreSyncJdStoreParams) (retVal interface{}, errCode string, err error) {
|
||||
err = cms.UpdateJdStoreNameAll(params.Ctx)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user