1
This commit is contained in:
@@ -51,26 +51,21 @@ func TestGetStoreInfoByStationNo(t *testing.T) {
|
||||
|
||||
func TestUpdateStoreInfo4Open(t *testing.T) {
|
||||
params := &OpStoreParams{
|
||||
StationNo: "12664100",
|
||||
StationName: "",
|
||||
OutSystemID: "",
|
||||
Mobile: "",
|
||||
Phone: "",
|
||||
Lat: 43.622098,
|
||||
Lng: 122.275918,
|
||||
StationAddress: "内蒙古自治区通辽市科尔沁区百花新城",
|
||||
Operator: "liulei",
|
||||
ServiceTimeEnd1: 0,
|
||||
ServiceTimeStart1: 0,
|
||||
ServiceTimeEnd2: 0,
|
||||
ServiceTimeStart2: 0,
|
||||
DeliveryRangeType: 0,
|
||||
CoordinateType: 0,
|
||||
DeliveryRangeRadius: 0,
|
||||
CoordinatePoints: "",
|
||||
CloseStatus: 0,
|
||||
StoreNotice: "",
|
||||
StandByPhone: "",
|
||||
StationNo: "12664100",
|
||||
StationName: "旺佳超市",
|
||||
OutSystemID: "668836",
|
||||
Mobile: "17751816719",
|
||||
Phone: "17751816719",
|
||||
Lat: 43.622098,
|
||||
Lng: 122.275918,
|
||||
City: 902,
|
||||
County: 32769,
|
||||
StationAddress: "内蒙古自治区通辽市科尔沁区百花新城",
|
||||
Operator: "18981810340",
|
||||
ServiceTimeEnd1: 44,
|
||||
ServiceTimeStart1: 14,
|
||||
CoordinateType: 3,
|
||||
CloseStatus: 0,
|
||||
}
|
||||
err := api.UpdateStoreInfo4Open2(params, false)
|
||||
if err != nil {
|
||||
@@ -79,6 +74,10 @@ func TestUpdateStoreInfo4Open(t *testing.T) {
|
||||
|
||||
}
|
||||
|
||||
func TestGetNextLevelByType(t *testing.T) {
|
||||
api.GetNextLevelByType(902, "18981810")
|
||||
}
|
||||
|
||||
//func TestGetCommentByOrderId(t *testing.T) {
|
||||
// testOrderID := int64(922520919000622)
|
||||
// result, err := api.GetCommentByOrderId2(testOrderID)
|
||||
|
||||
Reference in New Issue
Block a user