@Test public void testUpdateAddress() throws Exception { }
@ApiOperation("修改收货地址（tip；未使用！）") @RequestMapping(value = "/api/v1/user/address/up", method = {RequestMethod.POST, RequestMethod.GET}) public JSONObject updateAddress(@RequestBody DeliveryAddress address) { boolean status = addressService.updateDa(getUserId(),address); return response(status); }
DeliveryAddressController extends BaseController { @ApiOperation("修改收货地址（tip；未使用！）") @RequestMapping(value = "/api/v1/user/address/up", method = {RequestMethod.POST, RequestMethod.GET}) public JSONObject updateAddress(@RequestBody DeliveryAddress address) { boolean status = addressService.updateDa(getUserId(),address); return response(status); } }
DeliveryAddressController extends BaseController { @ApiOperation("修改收货地址（tip；未使用！）") @RequestMapping(value = "/api/v1/user/address/up", method = {RequestMethod.POST, RequestMethod.GET}) public JSONObject updateAddress(@RequestBody DeliveryAddress address) { boolean status = addressService.updateDa(getUserId(),address); return response(status); }  }
DeliveryAddressController extends BaseController { @ApiOperation("修改收货地址（tip；未使用！）") @RequestMapping(value = "/api/v1/user/address/up", method = {RequestMethod.POST, RequestMethod.GET}) public JSONObject updateAddress(@RequestBody DeliveryAddress address) { boolean status = addressService.updateDa(getUserId(),address); return response(status); }  @RequestMapping(value = "/api/v1/user/address/add", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject addAddress(@RequestBody DeliveryAddress address); @RequestMapping(value = "/api/v1/user/address/del", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject deleteAddress(@RequestParam("addressId") Long addressId); @ApiOperation("修改收货地址（tip；未使用！）") @RequestMapping(value = "/api/v1/user/address/up", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject updateAddress(@RequestBody DeliveryAddress address); @ApiOperation("查看收货地址信息") @RequestMapping(value = "/api/v1/user/address/show", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject queryAddress(); }
DeliveryAddressController extends BaseController { @ApiOperation("修改收货地址（tip；未使用！）") @RequestMapping(value = "/api/v1/user/address/up", method = {RequestMethod.POST, RequestMethod.GET}) public JSONObject updateAddress(@RequestBody DeliveryAddress address) { boolean status = addressService.updateDa(getUserId(),address); return response(status); }  @RequestMapping(value = "/api/v1/user/address/add", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject addAddress(@RequestBody DeliveryAddress address); @RequestMapping(value = "/api/v1/user/address/del", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject deleteAddress(@RequestParam("addressId") Long addressId); @ApiOperation("修改收货地址（tip；未使用！）") @RequestMapping(value = "/api/v1/user/address/up", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject updateAddress(@RequestBody DeliveryAddress address); @ApiOperation("查看收货地址信息") @RequestMapping(value = "/api/v1/user/address/show", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject queryAddress();  }