2 changed files with 49 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||||||
|
package com.logpm.factory.oupai.vo; |
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModelProperty; |
||||||
|
import lombok.Data; |
||||||
|
|
||||||
|
/** |
||||||
|
* 发车单数据 |
||||||
|
*/ |
||||||
|
@Data |
||||||
|
public class DispatchNoteVO { |
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty("发车单号") |
||||||
|
private String dispatchNoteNum; |
||||||
|
|
||||||
|
} |
@ -0,0 +1,33 @@ |
|||||||
|
package com.logpm.factory.oupai.controller; |
||||||
|
|
||||||
|
import io.swagger.annotations.Api; |
||||||
|
import lombok.AllArgsConstructor; |
||||||
|
import lombok.extern.slf4j.Slf4j; |
||||||
|
import org.springblade.core.tool.api.R; |
||||||
|
import org.springframework.web.bind.annotation.GetMapping; |
||||||
|
import org.springframework.web.bind.annotation.RequestMapping; |
||||||
|
import org.springframework.web.bind.annotation.RestController; |
||||||
|
|
||||||
|
/** |
||||||
|
* 欧派工厂推送数据 |
||||||
|
*/ |
||||||
|
@Slf4j |
||||||
|
@RestController |
||||||
|
@AllArgsConstructor |
||||||
|
@RequestMapping("oupaiFactoryData") |
||||||
|
@Api(value = "欧派工厂数据", tags = "欧派工厂数据") |
||||||
|
public class OupaiFactoryDataController { |
||||||
|
|
||||||
|
@GetMapping("/acceptOupaiFactoryData") |
||||||
|
public R acceptOupaiFactoryData(String json){ |
||||||
|
log.info("acceptOupaiFactoryData 参数 json {}",json); |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return R.data(null); |
||||||
|
|
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
} |
Loading…
Reference in new issue