1
This commit is contained in:
14
platformapi/uuptapi/waybill.go
Normal file
14
platformapi/uuptapi/waybill.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package uuptapi
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
//计算订单价格
|
||||
func (a *API) GetOrderPrice(req *GetOrderPriceReq) (needPayMoney, priceToken string, err error) {
|
||||
preOrder := a.MakeUURequestHead()
|
||||
bytes, err := json.Marshal(req)
|
||||
if err != nil {
|
||||
return "", "", err
|
||||
}
|
||||
preOrder["param"] = string(bytes)
|
||||
return "", "", nil
|
||||
}
|
||||
Reference in New Issue
Block a user