通知第三方平台重构

This commit is contained in:
2024-04-22 11:10:17 +08:00
parent 8ff615f90d
commit 01319e7648
3 changed files with 65 additions and 6 deletions

View File

@@ -71,6 +71,7 @@ import com.jsowell.service.OrderService;
import com.jsowell.service.PileService;
import com.jsowell.service.TempService;
import com.jsowell.thirdparty.amap.service.AMapService;
import com.jsowell.thirdparty.common.NotificationDTO;
import com.jsowell.thirdparty.common.NotificationService;
import com.jsowell.thirdparty.huawei.HuaWeiService;
import com.jsowell.thirdparty.lianlian.service.LianLianService;
@@ -254,7 +255,10 @@ public class SpringBootTestController {
@Test
public void notificationStationInfoTest() {
String stationId = "19";
notificationService.notificationStationInfo(stationId);
NotificationDTO dto = new NotificationDTO();
dto.setStationId(stationId);
dto.setPlatformType("1");
notificationService.notificationStationInfo(dto);
}
@Test