1
This commit is contained in:
@@ -60,9 +60,9 @@ func BarCodeScannerPay(vendorOrderId string, userPaymentLabel string) (payCode s
|
||||
Signtype: tonglianpayapi.EncryptionRsa,
|
||||
}
|
||||
terminfo := &tonglianpayapi.TerminfoBase{
|
||||
Termno: fmt.Sprintf("%d_1", goodsOrder.JxStoreID),
|
||||
Devicetype: "10",
|
||||
Termsn: fmt.Sprintf("%d_1", goodsOrder.JxStoreID),
|
||||
Termno: fmt.Sprintf("%d00", goodsOrder.JxStoreID),
|
||||
Devicetype: "11",
|
||||
Termsn: fmt.Sprintf("%d00", goodsOrder.JxStoreID),
|
||||
Longitude: fmt.Sprintf("+%s", utils.Float64ToStr(jxutils.IntCoordinate2Standard(storeDetail.Lng))),
|
||||
Latitude: fmt.Sprintf("+%s", utils.Float64ToStr(jxutils.IntCoordinate2Standard(storeDetail.Lat))),
|
||||
}
|
||||
@@ -302,9 +302,9 @@ func AddStoreTerm(storeId int, operation string) error {
|
||||
address = storeDetail.Address[index+len(storeDetail.DistrictName):]
|
||||
}
|
||||
param := &tonglianpayapi.AddTermReq{
|
||||
Termno: fmt.Sprintf("%d_1", storeDetail.ID),
|
||||
Devicetype: "10",
|
||||
Termsn: fmt.Sprintf("%d_1", storeDetail.ID),
|
||||
Termno: fmt.Sprintf("%d00", storeDetail.ID),
|
||||
Devicetype: "11",
|
||||
Termsn: fmt.Sprintf("%d00", storeDetail.ID),
|
||||
Operation: operation,
|
||||
Termstate: "",
|
||||
Termaddress: fmt.Sprintf("%s-%s-%s-%s", storeDetail.ProvinceName, storeDetail.CityName, storeDetail.DistrictName, address),
|
||||
|
||||
Reference in New Issue
Block a user