parent
c983035613
commit
6253447003
@ -0,0 +1,28 @@
|
||||
package au.com.royalpay.payment.manage.customers.web;
|
||||
|
||||
import au.com.royalpay.payment.manage.apps.AppController;
|
||||
import au.com.royalpay.payment.manage.customers.core.CouponValidateService;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
/**
|
||||
* Created by yuan on 2017/12/27.
|
||||
*/
|
||||
@RequestMapping(value = "/manager")
|
||||
@AppController
|
||||
public class PaymentManagerController {
|
||||
|
||||
@Resource
|
||||
private CouponValidateService couponVerificationService;
|
||||
|
||||
@GetMapping(value = "/get_payment_manage")
|
||||
public JSONObject getPaymentManager(){
|
||||
JSONObject json = couponVerificationService.getPaymentManager();
|
||||
return json;
|
||||
}
|
||||
}
|
Loading…
Reference in new issue