|
@@ -6,6 +6,7 @@ import io.swagger.annotations.ApiImplicitParam;
|
|
import io.swagger.annotations.ApiImplicitParams;
|
|
import io.swagger.annotations.ApiImplicitParams;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
+import oracle.jdbc.proxy.annotation.Post;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
@@ -336,13 +337,18 @@ public class AMScontroller{
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 下拉框
|
|
|
|
|
|
+ * 获取收货地址
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @GetMapping("getAddressDeliveryAddress")
|
|
|
|
|
|
+ @PostMapping("getAddressDeliveryAddress")
|
|
@ApiOperation(value = "得到地址下拉")
|
|
@ApiOperation(value = "得到地址下拉")
|
|
- public Map<String, Object> getAddressDeliveryAddress(){
|
|
|
|
- return amsFeign.getAddressDeliveryAddress();
|
|
|
|
|
|
+ @ApiImplicitParam(name = "apiId",value = "255")
|
|
|
|
+ public Map<String, Object> getAddressDeliveryAddress(@RequestBody(required=false) Map<String,Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ String con){
|
|
|
|
+ return amsFeign.getAddressDeliveryAddress(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize,con);
|
|
}
|
|
}
|
|
|
|
|
|
@GetMapping("getShipperId")
|
|
@GetMapping("getShipperId")
|