Commit Graph

81 Commits

Author SHA1 Message Date
gazebo
bed727d3e5 - big refactor. 2018-07-05 12:21:25 +08:00
gazebo
c43ec48837 - for elm order, the type of order msg must in resaonable sequence. 2018-07-05 11:04:47 +08:00
gazebo
a83e2102a5 - remove corm. 2018-07-04 17:44:44 +08:00
gazebo
d7fa2b103e - add info log for OrderAcceptOperate. 2018-07-04 10:58:03 +08:00
gazebo
99ace915fc - change jd bad comment push format. 2018-07-04 10:45:03 +08:00
gazebo
b402bb4395 - test jenkins. 2018-07-04 10:16:56 +08:00
gazebo
ca783746ab - remove redundant log. 2018-07-04 09:07:08 +08:00
gazebo
7217d0cee7 - change field size of elm order(Mobile and Consignee). 2018-07-03 17:27:00 +08:00
gazebo
c6088a7dd4 - more fields on elemeorder. 2018-07-03 15:35:02 +08:00
gazebo
339da74d44 - fix bug write elm data to db. 2018-07-03 10:41:10 +08:00
gazebo
8a75fb9beb - refactor auto accept order, explicit refuse added. 2018-07-02 22:39:16 +08:00
gazebo
009f67fff5 - fix bug len(phoneList) >= 1 in elm orderMessage. 2018-07-02 15:25:35 +08:00
gazebo
bddc7acf08 - fix jd buyerMobile bug in JD newOrder. 2018-07-02 15:02:58 +08:00
gazebo
b48340156a - change BlackClient.CreatedAt and UpdatedAt to nullable. 2018-07-02 14:18:29 +08:00
gazebo
b82729709d - add black user . 2018-07-02 13:37:52 +08:00
gazebo
28921345e8 - more error and warn output. 2018-07-01 10:11:28 +08:00
gazebo
e26edffca4 - refactor refresh config logic. 2018-06-30 07:58:09 +08:00
gazebo
2795271dd6 - add .log .bak to git ignore files. 2018-06-30 07:29:56 +08:00
gazebo
b35ec0ee91 - notify freshfood when weixin or elm token changed. 2018-06-30 07:26:58 +08:00
gazebo
941514d143 - more detail msg when can not find jdorder in db. 2018-06-29 18:26:51 +08:00
gazebo
76b02763ec - fix elm setToken bug 2018-06-29 18:11:01 +08:00
gazebo
30d77cad2e routers/commentsRouter_controllers.go added. 2018-06-29 15:26:07 +08:00
gazebo
a727fc644b - fix ELMOrderStatus 2018-06-29 14:20:36 +08:00
gazebo
340e0fbe63 - refactor rename order to msg. 2018-06-29 12:26:21 +08:00
gazebo
494d4cb8cf - remove utils.Str2Int(use int(utils.Str2Int64) instead). 2018-06-29 11:52:08 +08:00
gazebo
bcc95475db - add jd order comment msg. 2018-06-29 11:33:09 +08:00
gazebo
73369ef436 - add test config
- refresh elme and weixin token only in prod env.
- change dada callback to dadadelivery/msg
2018-06-29 10:43:40 +08:00
gazebo
718c54b507 - elm use routine pool. 2018-06-28 12:38:45 +08:00
gazebo
b756990cee - add missing JdOrderID when sending msg to freshfood. 2018-06-28 10:33:09 +08:00
gazebo
b496b751bc - refactor. 2018-06-28 10:13:17 +08:00
gazebo
acfb2512f5 - Jdorder.Data is not string when Marsha.l 2018-06-28 09:48:30 +08:00
gazebo
5187282b7d - change Jdorder.Success to bool. refine the json field name of Jdorder. 2018-06-27 22:38:49 +08:00
gazebo
fce760e3dc - change log level to info when err in AccessFreshFood. 2018-06-27 19:01:56 +08:00
gazebo
54866686ac - jd new order and adjust order. 2018-06-27 18:34:30 +08:00
gazebo
5d6a2964c2 - RouterCaseSensitive = false.
- debug calling freshfood.
2018-06-27 16:54:26 +08:00
gazebo
9b34fd5e41 - use request body when handling jd msg.
- when check pending jd order msg, limit to 2days
2018-06-27 15:43:41 +08:00
gazebo
a0d908528e - make the root / pingable. 2018-06-27 15:16:34 +08:00
gazebo
79adc40a49 - changed according to baseapi. 2018-06-27 14:55:23 +08:00
gazebo
a07a8091c5 - move const config from globals2.go to app.conf. 2018-06-27 11:58:38 +08:00
gazebo
f65d22c464 - handle Jdorder code is only 2 characters. 2018-06-27 11:19:49 +08:00
gazebo
eeb8587d4c - handle table config error. 2018-06-27 11:08:30 +08:00
gazebo
8b5b3fbfa5 - fix db connect error. 2018-06-27 10:52:43 +08:00
gazebo
75608dd498 - change to prod. 2018-06-27 10:41:02 +08:00
gazebo
f5e8d3648d - compatible to current db format(elm token). 2018-06-27 10:38:27 +08:00
gazebo
294a208d6c - elm and weixin token refresh added. 2018-06-26 18:49:26 +08:00
gazebo
8ca0584794 - change all setting to prod. 2018-06-26 10:28:26 +08:00
gazebo
2445cdcc06 - change port to 8080. 2018-06-26 09:28:31 +08:00
gazebo
04ff64d346 - remove redundant log. 2018-06-22 22:46:12 +08:00
gazebo
65593521b9 - refactor as baseapi. 2018-06-22 22:38:30 +08:00
gazebo
50790b3686 - dada added. 2018-06-21 14:30:45 +08:00