|
1234567891011121314151617 |
- package jd
-
- func init() {
- JDAppKey = "444ab671c4d095122916453d09af27fc"
- JDAppSecret = "aef3c2745cc44194816d0c89c65b3847"
- JDVersion = "1.0"
- JDRouter = "https://router.jd.com/api"
- // taoke.JDRouter = "https://api.jd.com/routerjson"
-
- }
- func send(method string, args map[string]interface{}) ([]byte, error) {
- result, err := Execute(method, Arg{"goodsReq": args})
- if err != nil {
- return nil, err
- }
- return result.MarshalJSON()
- }
|