|
- package jdSdk
-
- import "code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git/comm"
-
- func init() {
- comm.JDAppKey = "444ab671c4d095122916453d09af27fc"
- comm.JDAppSecret = "aef3c2745cc44194816d0c89c65b3847"
- comm.JDVersion = "1.0"
- comm.JDRouter = "https://router.jd.com/api"
- comm.JDSdkRouter = "https://router.jdSdk.com/api"
-
- }
- func send(method string, args map[string]interface{}) ([]byte, error) {
- result, err := comm.Execute(method, args)
- if err != nil {
- return nil, err
- }
- return result.MarshalJSON()
- }
|