Commit Graph

54 Commits

Author SHA1 Message Date
gazebo
57d00d1bc7 京东JavaDate类型,改为毫秒的timestamp类型兼容处理。 2019-11-15 15:26:26 +08:00
gazebo
5f11b3c524 github.com/mitchellh/mapstructure to github.com/gazeboxu/mapstructure 2019-10-15 15:42:04 +08:00
gazebo
6a20301c9e 添加utils.IsPtrTimeZero 2019-09-29 17:10:54 +08:00
gazebo
b02230ec2d - 重新实现utils.Struct2FlatMap 2019-09-24 15:23:27 +08:00
gazebo
3ae979e48b - TryInterface2Int64添加in32,int16,int8 2019-09-24 08:59:36 +08:00
gazebo
09c9d49a45 - TryInterface2Int64与TryInterface2Float64,在转字符串为数字不成功时,不报警 2019-09-13 10:56:54 +08:00
gazebo
48265441e2 - TryInterface2Int64和TryInterface2Float64兼容string 2019-09-12 11:04:57 +08:00
gazebo
6840508339 + Struct2Map 2019-08-07 18:18:14 +08:00
gazebo
2603914c98 - StringSlice2Int 2019-07-21 20:44:10 +08:00
gazebo
414c359200 - 清理三个平台的门店商品批处理操作,部分失败返回失败条目 2019-07-21 16:08:37 +08:00
gazebo
061e906d17 - 修正各平台与拉取订单相关的API的bug 2019-07-18 18:35:59 +08:00
gazebo
dffbae5430 - up 2019-06-24 21:38:18 +08:00
gazebo
d1911a1215 - 将一些reflect相关的函数称到utils_reflect.go里 2019-06-05 21:42:33 +08:00
gazebo
46ee522bbb - mtwmapi.OrderGetOrderDetail2 2019-05-12 18:15:47 +08:00
gazebo
f843a3ecba - ForceInterface2Int64 2019-04-12 09:07:32 +08:00
gazebo
df987cd93e - zhongwuapi 2019-04-10 13:52:17 +08:00
gazebo
5afcabae4c - 使用mapstructure进行map到struct的映射,简化API编写 2019-04-07 23:22:47 +08:00
gazebo
9e18764213 - 改Struct2MapWithIgnore为递归 2019-04-04 22:34:32 +08:00
gazebo
c3e3c32d44 - 添加了部分到家订单级促销 2019-04-04 21:03:10 +08:00
gazebo
21818bd78d - 美团外卖满减,直降,运费活动API完成 2019-04-03 22:01:17 +08:00
gazebo
f105cfed62 - 将FlatMap,Struct2FlatMap从jxutils移到utils中
+ 添加MarshalJSONIgnoreValues, MustMarshalJSONIgnoreValues
2019-04-03 10:47:06 +08:00
gazebo
e550a24ce1 - ebai activity
- Interface2FloatWithDefault to Interface2Float64WithDefault
2019-04-02 14:32:14 +08:00
gazebo
2004a8ccf6 - feieapi 2019-04-01 16:25:18 +08:00
gazebo
e8c84c3b21 + Time2TimeStr 2019-03-30 15:03:11 +08:00
gazebo
ea13a07fea - 添加Struct2MapByJson
- 去掉将全局structs.DefaultTagName设置为"json"
2019-03-27 22:42:35 +08:00
gazebo
11c6386331 - Float64TwoInt64 2019-03-27 17:51:19 +08:00
gazebo
4fa834f839 - mtwm.OrderLogisticsChange2Self
- TryInterface2xx
2019-03-27 11:20:11 +08:00
gazebo
ac19798d33 + add Map2KeySlice 2019-03-01 10:13:42 +08:00
gazebo
ff06369a23 - add utils.TryUnmarshalUseNumber
- remove utils.HTTPResponse2Json
2019-02-27 14:19:23 +08:00
gazebo
61d6840bdb - add func utils.IsTimeZero 2019-02-15 14:29:51 +08:00
gazebo
e06ec24013 - weimob wsc api 2019-01-18 09:17:02 +08:00
gazebo
f212fa3046 - TryStr2Time handle time zone info. 2019-01-12 15:15:31 +08:00
gazebo
e124038aa2 - refactor platformapi.AccessPlatformAPIWithRetry 2019-01-12 14:04:37 +08:00
gazebo
c0735d9d6c - don't check sign when there isn't sign data in mtwm callback. 2019-01-08 17:40:35 +08:00
gazebo
45d19a2a78 - jd spu related funcs 2018-12-11 12:35:18 +08:00
gazebo
b7230df0b8 - add callbackURL for mtwm api 2018-11-29 22:37:28 +08:00
gazebo
8399f65215 - ZeroTimeValue 2018-11-29 13:14:35 +08:00
gazebo
5a43ff8e20 - Unmarshal2Map 2018-11-19 20:10:22 +08:00
gazebo
8cb3303db3 - use Infof instead of Errorf when err in UnmarshalUseNumber 2018-11-11 16:16:08 +08:00
gazebo
b30fe17f2a - TryStr2Time 2018-11-05 21:57:37 +08:00
gazebo
a0c6fe75d8 - time format 2018-10-29 16:33:44 +08:00
gazebo
9ecc7fb8e1 - change datetime format from "2006-01-02 15:04:05" to "2006-1-2 15:4:5" 2018-10-29 16:21:57 +08:00
gazebo
02b9d6e380 - use millisecond for limit access speed 2018-10-27 16:13:31 +08:00
gazebo
e28750b14e - print error in Format4Output 2018-10-20 10:50:56 +08:00
gazebo
eb7044d9e2 - append " 00:00:00" form pure date in Time2Str. 2018-09-30 18:52:40 +08:00
gazebo
933c218e00 - Str2Float64WithDefault 2018-09-28 12:11:25 +08:00
gazebo
a683db7107 - Interface2Slice. 2018-09-16 12:58:48 +08:00
gazebo
eeeb31f9ea - Interface2DirectIntWithDefault added. 2018-09-09 12:14:49 +08:00
gazebo
e0c1aae0fc - refactor result parser. 2018-08-29 23:23:34 +08:00
gazebo
cc7be396ea - store and product api for jd and elm added. 2018-08-27 17:22:15 +08:00