Commit Graph

57 Commits

Author SHA1 Message Date
gazebo
71f774e02f - add .log .bak to git ignore files. 2018-06-30 07:29:17 +08:00
gazebo
8d6725eeb4 - write detail log when eml call failed. 2018-06-29 18:09:03 +08:00
gazebo
3a019fcba8 - more log. 2018-06-29 17:06:34 +08:00
gazebo
6bcdf33b46 - remove a debug msg. 2018-06-29 15:23:29 +08:00
gazebo
b10456dffe - mtps cancel_reason_id is not mandatory,
- fix check mandatory bug.
2018-06-29 11:50:45 +08:00
gazebo
3aac71a84f - add jdorder comment status const 2018-06-29 11:31:27 +08:00
gazebo
6229a986c6 - use baseURL when playback callback msg. 2018-06-29 10:59:23 +08:00
gazebo
6b865b5f4c - add many TestCallbackMsgPlayback. 2018-06-29 10:41:18 +08:00
gazebo
8c4e92f5ef - handle panic in routine pool. 2018-06-29 09:18:09 +08:00
gazebo
3b36c74a29 - routine pool added. 2018-06-28 12:35:11 +08:00
gazebo
0ccaf81be8 - jdapi.Err2CallbackResponse added. 2018-06-28 10:11:04 +08:00
gazebo
d50eaef9ab - ignore dir OFF. 2018-06-27 19:03:38 +08:00
gazebo
0e424ec54c - change test orderid. 2018-06-27 19:01:25 +08:00
gazebo
9e010ce8cb - TestSimulateSendNewOrderMsg added. 2018-06-27 18:32:18 +08:00
gazebo
583d2e23f8 - fix CallbackDeliveryStatusMsg.OpTime to String. 2018-06-27 16:52:29 +08:00
gazebo
c00d00630e - use Request.Body directly when handling jd msg. 2018-06-27 15:42:44 +08:00
gazebo
e96e04ae0e - fix jd callback msg handling, some callback msg should unescqpe firstly. 2018-06-27 14:54:36 +08:00
gazebo
b0d9fad396 - refactor refresh token. 2018-06-27 10:37:07 +08:00
gazebo
e0ceb0ad0a - refactor timestr. 2018-06-26 18:40:37 +08:00
gazebo
ee4e88594d - elm and weixin token refresh. 2018-06-26 15:30:35 +08:00
gazebo
910c9e02d1 - refactor Id. 2018-06-26 10:03:48 +08:00
gazebo
9356784af5 - refactor Id to ID. 2018-06-25 14:05:25 +08:00
gazebo
7657966da5 - big big refactor. 2018-06-22 22:26:12 +08:00
gazebo
062f7a2540 - dada order status constant added. 2018-06-21 16:27:51 +08:00
gazebo
40bd8acd52 - fixed dada callback sign error. 2018-06-21 16:17:45 +08:00
gazebo
e0ce7a1c29 - change jdapi params type from map[string]string to map[string]interface{}. 2018-06-21 16:16:38 +08:00
gazebo
0289f26a8a - dada result can not be think is map[string]interface{}. 2018-06-21 15:07:08 +08:00
gazebo
851b2c1eeb - dadaapi added.
- refactor.
2018-06-21 14:23:01 +08:00
gazebo
e1b377086e - avoid manually build map in CreateOrderByShop. 2018-06-20 23:01:52 +08:00
gazebo
efbfafb4ab - fix unittest bug caused by sugarLogger. 2018-06-20 20:55:35 +08:00
gazebo
21773180a2 - make sugarLogger baseapi globals. 2018-06-20 15:51:37 +08:00
gazebo
55df9f7a2f - global Log instance.
- CallFuncLogError.
2018-06-20 15:04:00 +08:00
gazebo
363f01857e - fix elm callback sign error(it's different from call elm API). 2018-06-20 11:47:24 +08:00
gazebo
62a25d4f0f - set ELMCallbackMsg's fields structs attr to avoid Upper case name when calling structs.Map. 2018-06-20 10:10:08 +08:00
gazebo
7785ef6485 - business msg added to error 2018-06-20 07:34:11 +08:00
gazebo
6fc94315f4 - add xian key in unittest. 2018-06-19 23:15:15 +08:00
gazebo
7c6f6e6534 - fix typo token to v. 2018-06-19 22:11:18 +08:00
gazebo
27919a36fc - add callback sign check. 2018-06-19 18:41:58 +08:00
gazebo
143a929c8c - handle mtps data is not map[string]interface{}. 2018-06-19 14:16:49 +08:00
gazebo
509779bc91 - string(jdParamStr). 2018-06-19 14:02:54 +08:00
gazebo
a3307c1ba6 - fixed some wrong string conversion(should be Int64toStr).
- mtps CreateOrderByShop added.
2018-06-19 13:59:43 +08:00
gazebo
03574f0f9d - refactor platform apis. 2018-06-18 11:47:20 +08:00
gazebo
db287fb025 - refactor. 2018-06-14 17:49:39 +08:00
gazebo
48d2819606 - only use sugarLogger. 2018-06-14 14:58:17 +08:00
gazebo
4f1a2bc950 - basic mtps api added. 2018-06-14 14:45:19 +08:00
gazebo
9696e142ee - use Must func when possible. 2018-06-14 09:54:19 +08:00
gazebo
5f6865666a - basic elm api added. 2018-06-13 17:10:41 +08:00
gazebo
47ecf4263d - receiver change to pointer for JDAPI. 2018-06-13 11:57:58 +08:00
gazebo
892c814b0e - refactor. 2018-06-13 11:41:48 +08:00
gazebo
0fc65c457a - specify json field name. 2018-06-12 16:50:27 +08:00