Commit Graph

117 Commits

Author SHA1 Message Date
gazebo
a84286df4f - handle ebai fake mobile(IsMobileFake) 2018-11-14 15:05:40 +08:00
gazebo
49b9d07153 - ebai prod key added.
- TrimDecorationChar
2018-11-13 09:29:06 +08:00
gazebo
69aad912cd - auto create jd promotion on jd new promotion event 2018-11-08 16:08:35 +08:00
gazebo
a5d22c3655 - handle special chars in store name. 2018-11-07 18:12:32 +08:00
gazebo
9bb30affc4 - move Cacher from globals to api
- vendorPromotionID for CreatePromotion
- LockPromotionSkus
2018-11-07 13:17:25 +08:00
gazebo
e0cf85ebb6 - prevent modify promotion sku 2018-11-06 16:10:23 +08:00
gazebo
ae267dcdbe - prevent modify promotion store sku. lack callback handler 2018-11-06 14:36:21 +08:00
gazebo
95e6ab402e - disable token check on non prod server. 2018-11-05 16:10:49 +08:00
gazebo
57ad34bb19 - enable token check. 2018-11-02 15:20:04 +08:00
gazebo
2376db722c - don't warning in jxcontext.New 2018-11-02 14:28:35 +08:00
gazebo
386ac29ad7 - TrimBlanChar to TrimBlankChar
- error_code.go
2018-11-02 14:11:32 +08:00
gazebo
6d98034c13 - NewWithUserName 2018-11-01 20:18:27 +08:00
gazebo
1e56ec2460 - fk. 2018-11-01 19:32:07 +08:00
gazebo
0428e3580f - output warning on prod when token is invliad. 2018-11-01 19:24:27 +08:00
gazebo
5212f8a065 - change bill ext to .lsx 2018-10-31 22:16:17 +08:00
gazebo
1bdb67864d - keyword doesn't search store address but want search owner's mobile. 2018-10-30 16:40:55 +08:00
gazebo
c11a0da974 - max username set to 30 2018-10-29 14:54:40 +08:00
gazebo
06e14535e3 - change weixin address. 2018-10-29 08:06:53 +08:00
gazebo
7a93cf745d - when IsContinueWhenError is true, if partial failed, mark the whole task as failed. 2018-10-27 18:00:02 +08:00
gazebo
0743df73b2 - revert default IsContinueWhenError to false. 2018-10-27 17:22:22 +08:00
gazebo
abd8326511 - avoid nil TaskError 2018-10-27 17:16:16 +08:00
gazebo
eac24b9a5a - SyncStoresCategory
- TaskError for json output.
2018-10-27 16:12:00 +08:00
gazebo
970e8dc7b2 - only clear sync status when SkuShopCategoryMap succeeded
- and DetailErrList for tasksch.
2018-10-27 10:22:25 +08:00
gazebo
0397729aa0 - fix bug in UpdateStore(GetRows) 2018-10-26 20:09:56 +08:00
gazebo
f12cfafe23 - avoid run task more than once. 2018-10-26 17:34:40 +08:00
gazebo
6c7b9afd10 - remove RunParallelTask
- refactor partner.SyncStoreCategory.
2018-10-26 13:38:35 +08:00
gazebo
c58905dd8e - fix bug in IntMap2List 2018-10-25 17:52:29 +08:00
gazebo
fc42291b08 - sku comment 2018-10-25 16:18:57 +08:00
gazebo
135938cfa9 - fix GenFakeID 2018-10-25 15:58:23 +08:00
gazebo
3af1e0a2ac - CaculateSkuPric 250, 500 2018-10-25 15:43:12 +08:00
gazebo
ed4cdb6f2a - remove tasksch.TaskMan.Run*** funcs 2018-10-25 08:47:37 +08:00
gazebo
442b8c6db3 - fix bug in updateStoreSkusWithoutSync 2018-10-24 20:27:22 +08:00
gazebo
5811d3cb68 - add parentTask. 2018-10-24 11:11:40 +08:00
gazebo
93a7202423 - RefreshAllStoresID
- RefreshAllSkusID
- use new tasksch when possible(not use run directly).
2018-10-23 16:34:42 +08:00
gazebo
b51ceb3d1d - add jxcontext.Context to all public API. 2018-10-21 22:41:11 +08:00
gazebo
5d2bf9a510 - jxcontext.Context added 2018-10-21 19:09:11 +08:00
gazebo
c818c45a4d - optimize tasksch channel. 2018-10-21 17:09:08 +08:00
gazebo
0fb6fe27fe - close quitChan when Cancel for tasksch. 2018-10-21 13:47:53 +08:00
gazebo
0d5a5189ed - big refactor tasksch 2018-10-20 15:05:02 +08:00
gazebo
2bfa5fe17f - use utils.CallFuncAsync when possible. 2018-10-20 12:02:52 +08:00
gazebo
042d3b5616 - BaseTask.GetID 2018-10-20 10:49:32 +08:00
gazebo
1c74a43c1b - MarshalJSON added for BaseTask. 2018-10-20 10:08:57 +08:00
gazebo
c00336905a - ren tasksch.Task to ParallelTask. 2018-10-20 09:35:17 +08:00
gazebo
66ef068fc3 - refactor tasksch
- sequence task added.
- task tree added.
2018-10-20 09:22:36 +08:00
gazebo
68db928187 - rough sequence task added. 2018-10-19 18:34:31 +08:00
gazebo
507fcf16d8 - refactor basesch, move register partner to partner. 2018-10-18 21:18:38 +08:00
gazebo
d7de24715b - remove useless legacy codes.
- refactor models
2018-10-16 10:47:44 +08:00
gazebo
df19812e97 - formalize pageSize. 2018-10-15 16:20:06 +08:00
gazebo
8b34b12a6e - CreatePromotionByExcel 2018-10-14 12:47:17 +08:00
gazebo
b158fd09ea - CreatePromotion 2018-10-13 20:28:20 +08:00