Files
baseapi/platformapi/uuptapi/waybill.go
richboo111 73a597fddb 1
2023-01-04 18:32:59 +08:00

15 lines
326 B
Go

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
}