This commit is contained in:
richboo111
2023-01-04 18:32:59 +08:00
parent 871de0016e
commit 73a597fddb
13 changed files with 523 additions and 17 deletions

View 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
}