This commit is contained in:
richboo111
2023-09-08 17:11:38 +08:00
parent 48cb5b9d42
commit 419df0dc52
2 changed files with 27 additions and 20 deletions

View File

@@ -7,8 +7,8 @@ import (
"testing"
)
//var api = New(AppID, AppKey)//测试
var api = New(AppID2, AppKey2) //正式
var api = New(AppID, AppKey) //测试
//var api = New(AppID2, AppKey2) //正式
const (
//正式环境
@@ -64,11 +64,13 @@ func TestCreateOrder(t *testing.T) {
param := &CreateOrderReq{
DevId: AppID,
ShopId: TestSFStoreID,
ShopOrderId: "20230525Test",
ShopType: 1,
ShopOrderId: "20230908Test",
OrderSequence: "测试",
OrderSource: OrderSourceELM,
OrderTime: 1684997166,
PushTime: 1684997166,
OrderTime: 1694163550,
LbsType: LbsTypeGD,
PushTime: 1694163550,
Version: 19,
ReturnFlag: 511,
Receive: &ReceiveAddress{