22 lines
353 B
Go
22 lines
353 B
Go
package quick_recharge
|
|
|
|
import (
|
|
"gitrosy.jxc4.com/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)
|
|
}
|
|
}
|