每晚自动同步时,全量同步

用AmendAndPruneStoreStuff替代PruneMissingStoreSkus与AddCreateFlagForJxStoreSku
This commit is contained in:
gazebo
2019-12-19 09:55:10 +08:00
parent 5f1c793a37
commit 1f1036b503
5 changed files with 103 additions and 11 deletions

View File

@@ -1764,6 +1764,15 @@ func init() {
Filters: nil,
Params: nil})
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:SyncController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:SyncController"],
beego.ControllerComments{
Method: "AmendAndPruneStoreStuff",
Router: `/AmendAndPruneStoreStuff`,
AllowHTTPMethods: []string{"post"},
MethodParams: param.Make(),
Filters: nil,
Params: nil})
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:SyncController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:SyncController"],
beego.ControllerComments{
Method: "DeleteRemoteStoreSkus",