This commit is contained in:
邹宗楠
2023-02-25 14:20:43 +08:00
parent 719507863a
commit cf1578a2c8
12 changed files with 30 additions and 106 deletions

View File

@@ -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)