Merge branch 'master' of https://git.royalpay.com.au/git/royalv2.manage
commit
9ea8134c24
@ -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;
|
||||||
|
}
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue