互动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
334 B

package test
import (
"fmt"
pay_service "hudongzhuanjia/services/pay"
"testing"
"time"
)
func TestUnifiedOrder(t *testing.T) {
res, err := pay_service.UnifiedOrder("欧轩互动测试", "o9XM41s_NN8Y0QK6_MbM-aYMV3TE",
200, 0, 1, 101, time.Now().Add(1*time.Hour).Unix())
if err != nil {
t.Error(err)
}
fmt.Println(res)
}