master
wangning 7 years ago
parent 8b15199265
commit 7b0f5dc2ca

@ -21,14 +21,14 @@ public class CustomerImpressionController {
@RequestMapping(value = "/list", method = RequestMethod.GET) @RequestMapping(value = "/list", method = RequestMethod.GET)
@ResponseBody @ResponseBody
public JSONObject checkPointsAfterPay(CustomerImpressionQuery customerImpressionQuery) { public JSONObject list(CustomerImpressionQuery customerImpressionQuery) {
return customerImpression.listPageble(customerImpressionQuery); return customerImpression.listPageble(customerImpressionQuery);
} }
@RequestMapping(value = "/{client_id}/{customer_id}", method = RequestMethod.GET) @RequestMapping(value = "/{client_id}/{customer_id}", method = RequestMethod.GET)
@ResponseBody @ResponseBody
public JSONObject checkPointsAfterPay(@PathVariable int client_id,@PathVariable String customer_id) { public JSONObject find(@PathVariable int client_id,@PathVariable String customer_id) {
return customerImpression.findOne(client_id,customer_id); return customerImpression.findOne(client_id,customer_id);
} }
} }

Loading…
Cancel
Save