@Test public void testQueryCommExchangeWays() throws Exception { post("/api/v1/user/commodity/commexchways?commId=23", "commId="+23); }
@ApiOperation("查询商品兑换方式") @RequestMapping(value = "/api/v1/user/commodity/commexchways", method = {RequestMethod.POST, RequestMethod.GET}) public JSONObject queryCommExchangeWays(@ApiParam("商品Id") @RequestParam("commId") Long commId) { return success(ceService.selectByCommodityId(commId)); }
CommodityExchangeController extends BaseController { @ApiOperation("查询商品兑换方式") @RequestMapping(value = "/api/v1/user/commodity/commexchways", method = {RequestMethod.POST, RequestMethod.GET}) public JSONObject queryCommExchangeWays(@ApiParam("商品Id") @RequestParam("commId") Long commId) { return success(ceService.selectByCommodityId(commId)); } }
CommodityExchangeController extends BaseController { @ApiOperation("查询商品兑换方式") @RequestMapping(value = "/api/v1/user/commodity/commexchways", method = {RequestMethod.POST, RequestMethod.GET}) public JSONObject queryCommExchangeWays(@ApiParam("商品Id") @RequestParam("commId") Long commId) { return success(ceService.selectByCommodityId(commId)); }  }
CommodityExchangeController extends BaseController { @ApiOperation("查询商品兑换方式") @RequestMapping(value = "/api/v1/user/commodity/commexchways", method = {RequestMethod.POST, RequestMethod.GET}) public JSONObject queryCommExchangeWays(@ApiParam("商品Id") @RequestParam("commId") Long commId) { return success(ceService.selectByCommodityId(commId)); }  @ApiOperation("查询商品兑换方式") @RequestMapping(value = "/api/v1/user/commodity/commexchways", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject queryCommExchangeWays(@ApiParam("商品Id") @RequestParam("commId") Long commId) {; @ApiOperation("兑换现金") @RequestMapping(value = "/api/v1/user/commodity/exchange/temp3", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject exchangeToCash(@ApiParam("商品Id") @RequestParam("commId") Long commId, @ApiParam("平台名称（例：支付宝平台）") @RequestParam("TPName") String TPName, @ApiParam("平台账号") @RequestParam("TPAccount") String TPAccount) {; @ApiOperation("兑换闪币") @RequestMapping(value = "/api/v1/user/commodity/exchange/temp4", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject exchangeToGold(@ApiParam("商品Id") @RequestParam("commId") Long commId) {; @ApiOperation("兑换充值卡") @RequestMapping(value = "/api/v1/user/commodity/exchange/rcard/temp1", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject exchangeToRechargeCardTemp1(@ApiParam("商品Id") @RequestParam("commId") Long commId) {; @ApiOperation("查看充值卡卡密") @RequestMapping(value = "/api/v1/user/commodity/exchange/rcard/show/code", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject exchangeToRechargeCard(@ApiParam("卡号") @RequestParam("code") String code) {; @ApiOperation("可兑换充值卡方式详情") @RequestMapping(value = "/api/v1/user/commodity/exchange/rcard/show", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject queryExchangeToRechargeCard(@ApiParam("商品Id") @RequestParam("commId") Long commId) {; @ApiOperation("充值卡兑换流程详情") @RequestMapping(value = "/api/v1/user/commodity/exchange/rcard/info", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject queryExchangeToRechargeCardInfo(@ApiParam("商品Id") @RequestParam("commId") Long commId) {; @ApiOperation("快递收货") @RequestMapping(value = "/api/v1/user/commodity/exchange/temp2", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject exchangeToExpress(@ApiParam("商品Id") @RequestParam("commId") Long commId, @ApiParam("注册用户地址Id") @RequestParam("addressId") Long addressId) {; @ApiOperation("到店领取") @RequestMapping(value = "/api/v1/user/commodity/exchange/temp5", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject exchangeToLocale(@ApiParam("商品Id") @RequestParam("commId") Long commId) {; }
CommodityExchangeController extends BaseController { @ApiOperation("查询商品兑换方式") @RequestMapping(value = "/api/v1/user/commodity/commexchways", method = {RequestMethod.POST, RequestMethod.GET}) public JSONObject queryCommExchangeWays(@ApiParam("商品Id") @RequestParam("commId") Long commId) { return success(ceService.selectByCommodityId(commId)); }  @ApiOperation("查询商品兑换方式") @RequestMapping(value = "/api/v1/user/commodity/commexchways", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject queryCommExchangeWays(@ApiParam("商品Id") @RequestParam("commId") Long commId) {; @ApiOperation("兑换现金") @RequestMapping(value = "/api/v1/user/commodity/exchange/temp3", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject exchangeToCash(@ApiParam("商品Id") @RequestParam("commId") Long commId, @ApiParam("平台名称（例：支付宝平台）") @RequestParam("TPName") String TPName, @ApiParam("平台账号") @RequestParam("TPAccount") String TPAccount) {; @ApiOperation("兑换闪币") @RequestMapping(value = "/api/v1/user/commodity/exchange/temp4", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject exchangeToGold(@ApiParam("商品Id") @RequestParam("commId") Long commId) {; @ApiOperation("兑换充值卡") @RequestMapping(value = "/api/v1/user/commodity/exchange/rcard/temp1", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject exchangeToRechargeCardTemp1(@ApiParam("商品Id") @RequestParam("commId") Long commId) {; @ApiOperation("查看充值卡卡密") @RequestMapping(value = "/api/v1/user/commodity/exchange/rcard/show/code", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject exchangeToRechargeCard(@ApiParam("卡号") @RequestParam("code") String code) {; @ApiOperation("可兑换充值卡方式详情") @RequestMapping(value = "/api/v1/user/commodity/exchange/rcard/show", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject queryExchangeToRechargeCard(@ApiParam("商品Id") @RequestParam("commId") Long commId) {; @ApiOperation("充值卡兑换流程详情") @RequestMapping(value = "/api/v1/user/commodity/exchange/rcard/info", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject queryExchangeToRechargeCardInfo(@ApiParam("商品Id") @RequestParam("commId") Long commId) {; @ApiOperation("快递收货") @RequestMapping(value = "/api/v1/user/commodity/exchange/temp2", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject exchangeToExpress(@ApiParam("商品Id") @RequestParam("commId") Long commId, @ApiParam("注册用户地址Id") @RequestParam("addressId") Long addressId) {; @ApiOperation("到店领取") @RequestMapping(value = "/api/v1/user/commodity/exchange/temp5", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject exchangeToLocale(@ApiParam("商品Id") @RequestParam("commId") Long commId) {;  }