- weimob order and callback
This commit is contained in:
13
platformapi/weimobapi/logistics.go
Normal file
13
platformapi/weimobapi/logistics.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package weimobapi
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
)
|
||||
|
||||
func (a *API) QueryLogisticsCompany() (retVal []map[string]interface{}, err error) {
|
||||
result, err := a.AccessAPI("logistics/queryLogisticsCompany", nil)
|
||||
if err == nil {
|
||||
return utils.Slice2MapSlice(result.([]interface{})), nil
|
||||
}
|
||||
return nil, err
|
||||
}
|
||||
Reference in New Issue
Block a user