Commit Graph

56 Commits

Author SHA1 Message Date
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
gazebo
30fac5afa3 - fix jd applayCancel msg format bug. 2018-06-20 23:02:47 +08:00
gazebo
157d36c47f - adjust package structure. 2018-06-20 15:53:08 +08:00
gazebo
9ca830c240 - refactor. 2018-06-20 15:06:09 +08:00
gazebo
0eebe3a47d - fix elmapi init bug. 2018-06-20 11:52:41 +08:00
gazebo
58164047e4 - add elm sandbox keys. 2018-06-20 08:51:26 +08:00
gazebo
e215aafb45 - fix orderMsgHandlerRoutinue. 2018-06-20 07:08:31 +08:00
gazebo
e8f6264b37 - change OrderMsgHandlerRoutinue to orderMsgHandlerRoutine 2018-06-19 23:19:33 +08:00
gazebo
2818b06512 - fix jd xian token. 2018-06-19 23:15:44 +08:00
gazebo
8877f11af8 - change to jd xian account to test. 2018-06-19 21:57:58 +08:00
gazebo
38626d6da4 - mtps code change from string int. 2018-06-19 18:42:30 +08:00
gazebo
f954a6f72c - debug msg in freshfood.AccessFreshFood. 2018-06-19 14:17:25 +08:00
gazebo
18109a35d0 - add mtps prod key info. 2018-06-19 13:55:49 +08:00
gazebo
a7383e594e - tiny buf fixed. 2018-06-18 16:32:31 +08:00
gazebo
26347127de - 如果JdOrderStatusAdjust消息到达,之前没有定单信息,正常处理(当成新定单) 2018-06-18 16:19:51 +08:00
gazebo
8850307f7f - add warning order:%v get after some other message:%d. 2018-06-18 16:13:50 +08:00
gazebo
15582a4283 - remve redundant log. 2018-06-18 16:02:36 +08:00
gazebo
861326c4eb - fixed new order msg bug. 2018-06-18 16:00:03 +08:00
gazebo
c6c14b1037 - remove a redundant warning log. 2018-06-18 15:26:38 +08:00
gazebo
0a7651cf0e - change port to 8888. 2018-06-18 12:33:14 +08:00
gazebo
03c7efbe1e - mtps added.
- refactor.
2018-06-18 12:03:53 +08:00
gazebo
a0a97c6fc2 - change route from elem to eleme. 2018-06-15 09:54:56 +08:00
gazebo
c34d6316fc - elem/msg get return ok. 2018-06-15 09:52:13 +08:00
gazebo
ad1a6ab5c4 - elm callback basic. 2018-06-14 17:50:58 +08:00
gazebo
4854395ef3 - receiver change to pointer. 2018-06-13 11:57:09 +08:00
gazebo
18257372e4 - all log use zap 2018-06-13 11:15:33 +08:00