add ctrip active

master
kira 6 years ago
parent d1cd353b53
commit afc17eb0fa

@ -555,13 +555,13 @@ public class RetailAppController {
} }
@RequestMapping(value = "/ctrip/check",method = RequestMethod.GET) @RequestMapping(value = "/ctrip/check",method = RequestMethod.GET)
public void ctripCheck(@ModelAttribute(RETAIL_DEVICE) JSONObject device) { public JSONObject ctripCheck(@ModelAttribute(RETAIL_DEVICE) JSONObject device) {
retailAppService.ctripCheck(device); return retailAppService.ctripCheck(device);
} }
@RequestMapping(value = "/ctrip/coupon/{couponId}",method = RequestMethod.GET) @RequestMapping(value = "/ctrip/coupon/{couponId}",method = RequestMethod.GET)
public void ctripCheck(@ModelAttribute(RETAIL_DEVICE) JSONObject device,@PathVariable String couponId) { public JSONObject ctripCheck(@ModelAttribute(RETAIL_DEVICE) JSONObject device,@PathVariable String couponId) {
retailAppService.ctripCouponInfo(device,couponId); return retailAppService.ctripCouponInfo(device,couponId);
} }
} }

Loading…
Cancel
Save