优惠券、用户积分、商家服务~~ 提供接口

master
Administrator 3 years ago
parent 62875be373
commit 2ea1632b32

@ -0,0 +1,18 @@
package com.mashibing.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author zjw
* @description
*/
@RestController
public class CouponController {
@GetMapping("/coupon")
public void coupon(){
System.out.println("优惠券预扣除成功!");
}
}

@ -0,0 +1,18 @@
package com.mashibing.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author zjw
* @description
*/
@RestController
public class UserPointsController {
@GetMapping("/up")
public void up(){
System.out.println("扣除用户积分成功!!");
}
}

@ -0,0 +1,18 @@
package com.mashibing.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author zjw
* @description
*/
@RestController
public class BusinessController {
@GetMapping("/notify")
public void notifyBusiness(){
System.out.println("通知商家成功!!");
}
}
Loading…
Cancel
Save