|
@@ -1,6 +1,8 @@
|
|
|
package com.yami.shop.platform.controller;
|
|
package com.yami.shop.platform.controller;
|
|
|
|
|
|
|
|
|
|
+import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.yami.shop.bean.model.Transport2;
|
|
import com.yami.shop.bean.model.Transport2;
|
|
|
|
|
+import com.yami.shop.common.util.PageParam;
|
|
|
import com.yami.shop.common.util.R;
|
|
import com.yami.shop.common.util.R;
|
|
|
import com.yami.shop.delivery.comment.service.Transport2Service;
|
|
import com.yami.shop.delivery.comment.service.Transport2Service;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -14,6 +16,14 @@ public class Transport2Controller {
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private Transport2Service transportService;
|
|
private Transport2Service transportService;
|
|
|
|
|
|
|
|
|
|
+ @GetMapping("/transport2List")
|
|
|
|
|
+ @ApiOperation("后管端-企业运费列表")
|
|
|
|
|
+ public R<IPage<Transport2>> transport2List(PageParam<Transport2> page) {
|
|
|
|
|
+ IPage<Transport2> orderIPage = transportService.transport2List(page);
|
|
|
|
|
+ return R.SUCCESS(orderIPage);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
@GetMapping("/queryTransport2ByChannelId/{channelId}")
|
|
@GetMapping("/queryTransport2ByChannelId/{channelId}")
|
|
|
@ApiOperation(value = "企业ID查询运费模板")
|
|
@ApiOperation(value = "企业ID查询运费模板")
|
|
|
public R<Transport2> queryTransport2ByChannelId(@PathVariable("channelId") Long channelId) {
|
|
public R<Transport2> queryTransport2ByChannelId(@PathVariable("channelId") Long channelId) {
|