1
This commit is contained in:
21
platformapi/quick_recharge/recharge_order_test.go
Normal file
21
platformapi/quick_recharge/recharge_order_test.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package quick_recharge
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestGetRechargeCreateOrder(t *testing.T) {
|
||||
param := &CreateOrderByGoodsReq{
|
||||
UserNo: utils.Str2Int(UserID),
|
||||
Id: 56254,
|
||||
PayType: 0,
|
||||
Count: 1,
|
||||
}
|
||||
result, err := api.CreateOrderByGoods(param)
|
||||
if err != nil {
|
||||
t.Log(err)
|
||||
} else {
|
||||
t.Log(result)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user