Commit 218ad12b authored by Quxl's avatar Quxl

x

parent 3c90f13c
......@@ -195,16 +195,16 @@ public class AddressController {
@ApiOperation("获取默认地址")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", name = "shopNo", dataType = "String", required = true, value = "店铺编码", defaultValue = ""),
@ApiImplicitParam(paramType = "query", name = "custNo", dataType = "String", required = true, value = "用户编码", defaultValue = ""),
@ApiImplicitParam(paramType = "query", name = "shopNO", dataType = "String", required = true, value = "店铺编码", defaultValue = ""),
@ApiImplicitParam(paramType = "query", name = "userNO", dataType = "String", required = true, value = "用户编码", defaultValue = ""),
@ApiImplicitParam(paramType = "query", name = "terminal", dataType = "String", required = false, value = "终端标识", defaultValue = "wechat"),
@ApiImplicitParam(paramType = "query", name = "langID", dataType = "String", required = false, value = "语言", defaultValue = "936"),
@ApiImplicitParam(paramType = "query", name = "sign", dataType = "String", required = true, value = "签名", defaultValue = ""),
@ApiImplicitParam(paramType = "query", name = "timestamp", dataType = "String", required = true, value = "时间戳", defaultValue = "")
})
@RequestMapping(value = "/getDefaultAddress",method=RequestMethod.GET)
public String getDefaultAddress(String custNo, String shopNo) {
Map<String, Object> map = addressService.getDefaultAddress(custNo, shopNo);
public String getDefaultAddress(String userNO, String shopNO) {
Map<String, Object> map = addressService.getDefaultAddress(userNO, shopNO);
return Rjx.jsonOk().setData(map).toJson();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment