Commit Graph

50 Commits

Author SHA1 Message Date
gazebo
ec1a3deee6 - fk 2018-11-14 10:39:01 +08:00
gazebo
a679ef3f44 - merge storeID and cityCode for GetPromotions 2018-11-14 10:34:44 +08:00
gazebo
0e6c0d4a52 - fk 2018-11-14 10:22:49 +08:00
gazebo
b370e4d158 - support cityCode in GetPromotions
- promotion beginAt and endAt are time format(not just date format)
2018-11-14 10:16:52 +08:00
gazebo
acbf6052d3 - up 2018-11-13 12:38:24 +08:00
gazebo
8cea399565 - async call some funcs in scheduleRoutine to avoid blocking 2018-11-10 09:32:34 +08:00
gazebo
9bc5b083d8 - trim 来源 for jd promotion 2018-11-09 15:24:46 +08:00
gazebo
30e16ba636 - is_lock = 1 in RefreshJdLockStoreSku. 2018-11-09 11:14:13 +08:00
gazebo
534761f993 - RefreshPromotionStatus
- call UpdatePromotionStatusFromRemote in LockPromotionSkus.
2018-11-09 10:13:34 +08:00
gazebo
7ce06d275b - make OnNewPromotionMsg asnyc
- set limit... in CreateJdPromotion
- correct limitPint to limitPin
2018-11-08 17:49:57 +08:00
gazebo
7f8a7e7820 - set promotion status to PromotionStatusRemoteCreated when manually associated. 2018-11-08 16:44:30 +08:00
gazebo
69aad912cd - auto create jd promotion on jd new promotion event 2018-11-08 16:08:35 +08:00
gazebo
11f8ba1ecd - OnNewPromotionMsg 2018-11-08 11:27:31 +08:00
gazebo
b013d0ab53 - add remark on table promotion 2018-11-07 20:07:06 +08:00
gazebo
a5d22c3655 - handle special chars in store name. 2018-11-07 18:12:32 +08:00
gazebo
e5510db6ea - check vendorPromotionID in CreateJdPromotion 2018-11-07 14:47:09 +08:00
gazebo
741a55f7a2 - change isLock from bool to int for LockPromotionSkus 2018-11-07 14:27:09 +08:00
gazebo
88929a687c - format promotion to 活动 2018-11-07 14:09:32 +08:00
gazebo
8ad36d3095 - add Promotion CreateType 2018-11-07 14:04:58 +08:00
gazebo
73df0db1f8 - fix misplace params in RefreshJdPromotionLockStatus 2018-11-07 13:52:28 +08:00
gazebo
a5983d3e38 - run scheduleRoutine on startup 2018-11-07 13:36:07 +08:00
gazebo
62a7a57730 - call RefreshJdStoreSkuStock only isLock true in LockPromotionSkus 2018-11-07 13:23:28 +08:00
gazebo
9bb30affc4 - move Cacher from globals to api
- vendorPromotionID for CreatePromotion
- LockPromotionSkus
2018-11-07 13:17:25 +08:00
gazebo
297e72dc0f - isContinueWhenError for CreatePromotion 2018-11-07 11:19:17 +08:00
gazebo
4f5efcacb3 - fk 2018-11-07 10:23:14 +08:00
gazebo
a3cc68088f - fk 2018-11-07 09:56:53 +08:00
gazebo
1befa2805d - fix beginAt 2018-11-07 09:29:25 +08:00
gazebo
25a31efa06 - RefreshJdStoreSkuStock 2018-11-07 09:24:18 +08:00
gazebo
96c6c52571 - fix bug in promotion.OnStoreStockMsg 2018-11-06 22:23:31 +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
434827abe6 - check status in CancelPromotion.
- return more accurate error in user related funcs
2018-11-06 08:34:23 +08:00
gazebo
ee5e7ffe18 - TryStr2Time 2018-11-05 22:04:28 +08:00
gazebo
42e96f3451 - return store name also. 2018-11-05 17:42:58 +08:00
gazebo
ef9739f00c - make PromotionStore and PromotionSku ModelIDCULD 2018-11-05 17:02:34 +08:00
gazebo
5cfae50cc7 - fix bug in CancelJdPromotion 2018-11-05 15:50:48 +08:00
gazebo
f24a9d6bb6 - update local status when cancel promotion successfully 2018-11-05 15:34:22 +08:00
gazebo
cf4bfb3dd8 - get and cancel promotion 2018-11-05 15:08:30 +08:00
gazebo
0eec70cce5 - use json to serialize promotion params.
- remove CreatePromotionByExcel
2018-11-05 08:58:15 +08:00
gazebo
c5831f2bde - revert jd promotion batch size to 200 2018-10-29 19:27:15 +08:00
gazebo
63b745460f - limit the batchsize of CreatePromotionSku to 50. 2018-10-29 16:25:41 +08:00
gazebo
301b845c44 - fix return bug in CreateJdPromotion 2018-10-26 15:01:15 +08:00
gazebo
d834422b4e - add limitSkuCount parameter when create jd promotion. 2018-10-26 13:55:58 +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
0d5a5189ed - big refactor tasksch 2018-10-20 15:05:02 +08:00
gazebo
3f94410904 - SendAdvertingByGoodsOrder 2018-10-19 20:15:30 +08:00
gazebo
8b34b12a6e - CreatePromotionByExcel 2018-10-14 12:47:17 +08:00
gazebo
b158fd09ea - CreatePromotion 2018-10-13 20:28:20 +08:00