12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- package com.steerinfo.dil.controller;
- import com.steerinfo.dil.service.impl.RmsConsigneeServiceImpl;
- import com.steerinfo.dil.util.BaseRESTfulController;
- import com.steerinfo.framework.controller.RESTfulResult;
- import io.swagger.annotations.ApiModelProperty;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.PostMapping;
- import org.springframework.web.bind.annotation.RequestBody;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
- import java.util.Map;
- @RestController
- @RequestMapping("/${api.version}/rmsconsignee")
- public class RmsConsigneeController extends BaseRESTfulController {
- @Autowired
- RmsConsigneeServiceImpl rmsConsigneeService;
-
- @ApiModelProperty(value = "收货客户管理对接接口")
- @PostMapping("/operationConsignee")
- public RESTfulResult operationConsignee(@RequestBody Map<String, Object> mapVal) {
- int result = rmsConsigneeService.operationConsignee(mapVal);
- return success(result);
- }
- }
|