|
@@ -5,6 +5,7 @@ import com.ydd.third.common.vo.waimai.SyncRiderPositionStatusVo;
|
|
|
import com.ydd.third.print.request.PrintDeviceDto;
|
|
|
import com.ydd.third.print.request.PrintDto;
|
|
|
import com.ydd.third.print.request.PrintOrderDto;
|
|
|
+import com.ydd.third.print.response.PrintStatusResp;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
@@ -23,7 +24,7 @@ public interface PrintApi {
|
|
|
@PostMapping(value="/print/addPrintSn")
|
|
|
String addPrintSn(@RequestParam("type") Integer type, @RequestParam("deviceSn") String deviceSn, @RequestParam("deviceSecret") String deviceSecret, @RequestParam("name") String name);
|
|
|
@PostMapping(value="/print/printStatus")
|
|
|
- <T> T printStatus(@RequestParam("type") Integer type, @RequestParam("deviceSn") String deviceSn, @RequestParam("deviceSecret") String deviceSecret);
|
|
|
+ PrintStatusResp printStatus(@RequestParam("type") Integer type, @RequestParam("deviceSn") String deviceSn, @RequestParam("deviceSecret") String deviceSecret);
|
|
|
@GetMapping(value="/print/deleteSn")
|
|
|
void deleteSn(@RequestParam("deviceSn") String deviceSn, @RequestParam("type") Integer type);
|
|
|
}
|