Commit Graph

  • 88929a687c - format promotion to 活动 gazebo 2018-11-07 14:09:32 +08:00
  • 8ad36d3095 - add Promotion CreateType gazebo 2018-11-07 14:04:58 +08:00
  • 73df0db1f8 - fix misplace params in RefreshJdPromotionLockStatus gazebo 2018-11-07 13:52:28 +08:00
  • a5983d3e38 - run scheduleRoutine on startup gazebo 2018-11-07 13:36:07 +08:00
  • 62a7a57730 - call RefreshJdStoreSkuStock only isLock true in LockPromotionSkus gazebo 2018-11-07 13:23:28 +08:00
  • 9bb30affc4 - move Cacher from globals to api - vendorPromotionID for CreatePromotion - LockPromotionSkus gazebo 2018-11-07 13:17:25 +08:00
  • ee9b84bd80 - handle level 1 leaf category in func GetSkuNames and GetStoreSkus gazebo 2018-11-07 11:27:42 +08:00
  • 297e72dc0f - isContinueWhenError for CreatePromotion gazebo 2018-11-07 11:19:17 +08:00
  • 4f5efcacb3 - fk gazebo 2018-11-07 10:23:14 +08:00
  • a3cc68088f - fk gazebo 2018-11-07 09:56:53 +08:00
  • 1befa2805d - fix beginAt gazebo 2018-11-07 09:29:25 +08:00
  • 25a31efa06 - RefreshJdStoreSkuStock gazebo 2018-11-07 09:24:18 +08:00
  • 96c6c52571 - fix bug in promotion.OnStoreStockMsg gazebo 2018-11-06 22:23:31 +08:00
  • 3661ac61da - IsDuplicateError gazebo 2018-11-06 22:12:18 +08:00
  • 255b0c7655 - jd WmsMerchantStockChang gazebo 2018-11-06 19:23:35 +08:00
  • e0cf85ebb6 - prevent modify promotion sku gazebo 2018-11-06 16:10:23 +08:00
  • ae267dcdbe - prevent modify promotion store sku. lack callback handler gazebo 2018-11-06 14:36:21 +08:00
  • d48b867dae - resend weixin msg when courier changed. gazebo 2018-11-06 09:34:44 +08:00
  • 434827abe6 - check status in CancelPromotion. - return more accurate error in user related funcs gazebo 2018-11-06 08:34:23 +08:00
  • ee5e7ffe18 - TryStr2Time gazebo 2018-11-05 22:04:28 +08:00
  • 594ca76de3 - PromotionStatusName gazebo 2018-11-05 19:02:10 +08:00
  • 42e96f3451 - return store name also. gazebo 2018-11-05 17:42:58 +08:00
  • ef9739f00c - make PromotionStore and PromotionSku ModelIDCULD gazebo 2018-11-05 17:02:34 +08:00
  • 95e6ab402e - disable token check on non prod server. gazebo 2018-11-05 16:10:49 +08:00
  • 5cfae50cc7 - fix bug in CancelJdPromotion gazebo 2018-11-05 15:50:48 +08:00
  • f24a9d6bb6 - update local status when cancel promotion successfully gazebo 2018-11-05 15:34:22 +08:00
  • 7c07d65c48 - refactor mysql transaction gazebo 2018-11-05 15:22:30 +08:00
  • cf4bfb3dd8 - get and cancel promotion gazebo 2018-11-05 15:08:30 +08:00
  • 34c74cd40a - fk gazebo 2018-11-05 09:13:09 +08:00
  • 0eec70cce5 - use json to serialize promotion params. - remove CreatePromotionByExcel gazebo 2018-11-05 08:58:15 +08:00
  • 3334466e70 - ErrStoreHaveNoCourier for getMTPSShopID gazebo 2018-11-03 12:52:14 +08:00
  • e6e28acb14 - trim possible semicolon in jd deliveryRange gazebo 2018-11-02 23:26:55 +08:00
  • cf10eb777e - fix GetStores search by mobile gazebo 2018-11-02 22:59:42 +08:00
  • 57ad34bb19 - enable token check. gazebo 2018-11-02 15:20:04 +08:00
  • 2376db722c - don't warning in jxcontext.New gazebo 2018-11-02 14:28:35 +08:00
  • 386ac29ad7 - TrimBlanChar to TrimBlankChar - error_code.go gazebo 2018-11-02 14:11:32 +08:00
  • addb300b1a - fix bug in GetUserInfo and GetSelfInfo - need token for SendMobileVerifyCode gazebo 2018-11-02 09:07:59 +08:00
  • 2336ad2ba4 - fix bug in CopyStoreSkus from and to are same, and specified category gazebo 2018-11-01 23:31:46 +08:00
  • 6db51d4093 - jd StockIsHave callback. gazebo 2018-11-01 20:38:55 +08:00
  • 6d98034c13 - NewWithUserName gazebo 2018-11-01 20:18:27 +08:00
  • 1e56ec2460 - fk. gazebo 2018-11-01 19:32:07 +08:00
  • 0428e3580f - output warning on prod when token is invliad. gazebo 2018-11-01 19:24:27 +08:00
  • df54e49bcd - change excel show url. gazebo 2018-11-01 18:43:40 +08:00
  • 24ad82e222 - don't call createWaybillOn3rdProviders on event WaybillStatusAcceptCanceled gazebo 2018-11-01 15:23:34 +08:00
  • ea7c6e51d4 - get place code from autonavi api if necessary. gazebo 2018-11-01 15:01:02 +08:00
  • a26a1d1ee9 - update jd_sync_status in batch. jd SyncStoreSkus gazebo 2018-11-01 13:51:06 +08:00
  • 8239f726b3 - .SetIsContinueWhenError(true) in SendFilesToStores gazebo 2018-11-01 09:31:19 +08:00
  • 541a61e953 - retry 3 times in SendFilesToStores. gazebo 2018-11-01 09:22:08 +08:00
  • 3b1256876c - revert to correct excel ext in SendFilesToStores. gazebo 2018-11-01 07:54:00 +08:00
  • 1ad4df80d2 - CopyStoreSkus support fromStore and toStore are same. gazebo 2018-11-01 01:29:30 +08:00
  • 65cfc85911 - comment gazebo 2018-11-01 01:00:23 +08:00
  • df573894d1 - don't delete and insert in CopyStoreSkus. gazebo 2018-11-01 00:35:02 +08:00
  • ccac26e412 - avoid create same user in BindMobile gazebo 2018-10-31 23:05:12 +08:00
  • 318cbdad7b - fk. gazebo 2018-10-31 22:48:07 +08:00
  • f1d7ee2079 - fk. gazebo 2018-10-31 22:40:24 +08:00
  • a437506eaf - temporarily use php server to convert excel. gazebo 2018-10-31 22:37:37 +08:00
  • 5212f8a065 - change bill ext to .lsx gazebo 2018-10-31 22:16:17 +08:00
  • 169a5bd374 - fix possible transaction bug in UpdateStore gazebo 2018-10-31 21:10:14 +08:00
  • 26742d4fbf - fix debug info error in CreateWaybillOnProviders gazebo 2018-10-31 19:52:02 +08:00
  • 50d807d761 - set parentid to -1 when create weixins in weixin.BindMobile gazebo 2018-10-31 19:32:43 +08:00
  • c0d5fc60b0 - don't mark sync status when directly deleted in CopyStoreSkus gazebo 2018-10-31 19:23:18 +08:00
  • fdd50744f0 - revert true to globals.EnableStoreWrite in jd RefreshAllSkusID gazebo 2018-10-31 13:04:29 +08:00
  • bbccf09d02 - refactor jd RefreshAllSkusID gazebo 2018-10-31 12:54:37 +08:00
  • 0e09f42468 - don't call FilterMb4 when saving order, instead call FilterMb4 when create waybill. gazebo 2018-10-31 11:53:35 +08:00
  • f0cd9aee08 - fk promotion gazebo 2018-10-31 11:20:20 +08:00
  • 0e7285efbd - store lng and lat. gazebo 2018-10-30 22:37:53 +08:00
  • 47d6c6cf13 - remove coordinate from search gazebo 2018-10-30 19:55:21 +08:00
  • 57e2039b3b - set default value of enableStoreWrite to false gazebo 2018-10-30 19:24:03 +08:00
  • 0d0e609c66 - fixed bug in ReadStore where not set lng and lat correctly. gazebo 2018-10-30 19:22:32 +08:00
  • 1bdb67864d - keyword doesn't search store address but want search owner's mobile. gazebo 2018-10-30 16:40:55 +08:00
  • 8313a52d49 - GetStores keyword support vendor_store_id. gazebo 2018-10-30 14:58:25 +08:00
  • 9b594702b0 - temporarily disable sync jd store delivery info because of jd bug. gazebo 2018-10-30 14:22:28 +08:00
  • 9c44e96862 - fix promotion.VendorID gazebo 2018-10-30 10:24:45 +08:00
  • d5fa05da70 - add more fields in GetOrders result gazebo 2018-10-29 22:13:35 +08:00
  • c5831f2bde - revert jd promotion batch size to 200 gazebo 2018-10-29 19:27:15 +08:00
  • 63b745460f - limit the batchsize of CreatePromotionSku to 50. gazebo 2018-10-29 16:25:41 +08:00
  • 4288c5f5e9 - disable swagger on prod. gazebo 2018-10-29 15:06:24 +08:00
  • c11a0da974 - max username set to 30 gazebo 2018-10-29 14:54:40 +08:00
  • 91ec739b0b - SkuName unique index include deleted_at gazebo 2018-10-29 14:05:01 +08:00
  • 9b724e5789 - disable elm ReadStore. gazebo 2018-10-29 11:24:56 +08:00
  • b55b2c002d - model.MaxStoreSkuStockQty = 99999 gazebo 2018-10-29 08:34:22 +08:00
  • 06e14535e3 - change weixin address. gazebo 2018-10-29 08:06:53 +08:00
  • a7db7ef5ba - enable new jx. gazebo 2018-10-29 07:44:32 +08:00
  • ce5bbb125b - disable call freshfood when orderUseNewTable is enabled. gazebo 2018-10-28 23:29:46 +08:00
  • 8c726a98f0 - user stationNo instead of outStationNo when calling jd store sku related apis. gazebo 2018-10-28 22:38:48 +08:00
  • 8604c1d2af - temporarily enable swagger for prod. gazebo 2018-10-28 22:00:54 +08:00
  • c3399c60e1 - remove useless comment gazebo 2018-10-28 21:58:52 +08:00
  • a4bb889e17 - enable jd RefreshAllStoresID gazebo 2018-10-28 21:48:39 +08:00
  • 495e1d90f0 - add res and addstoremsg gazebo 2018-10-28 21:32:51 +08:00
  • 40b2495f62 - use store 100119 to test OrderUseNewTable. gazebo 2018-10-28 14:18:28 +08:00
  • d4ec1dd0f3 - try exported table first in GetOrderSkuInfo gazebo 2018-10-28 14:10:58 +08:00
  • a188f48253 - call GetJxStoreIDFromOrder at first place gazebo 2018-10-28 13:36:42 +08:00
  • cfa09f94be - user statuss for GetStores gazebo 2018-10-28 12:55:44 +08:00
  • 298bb2f617 - add SpecQuality and SpecUnit for skuname - order desc for many query apis gazebo 2018-10-28 12:27:12 +08:00
  • f7df897bdb - add param isContinueWhenError for SyncStoresSkus. gazebo 2018-10-27 18:43:52 +08:00
  • 7a93cf745d - when IsContinueWhenError is true, if partial failed, mark the whole task as failed. gazebo 2018-10-27 18:00:02 +08:00
  • 0743df73b2 - revert default IsContinueWhenError to false. gazebo 2018-10-27 17:22:22 +08:00
  • abd8326511 - avoid nil TaskError gazebo 2018-10-27 17:16:16 +08:00
  • 746502fbc3 - move some jd related constant to jdapi gazebo 2018-10-27 16:24:36 +08:00
  • eac24b9a5a - SyncStoresCategory - TaskError for json output. gazebo 2018-10-27 16:12:00 +08:00