mirror of https://gitee.com/stylefeng/roses
【7.0.3】整理版本号
parent
28def2b1ec
commit
f8107854ba
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>cn.stylefeng.roses</groupId>
|
||||
<artifactId>roses-kernel</artifactId>
|
||||
<version>7.0.2</version>
|
||||
<version>7.0.3</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
@ -25,7 +25,7 @@
|
|||
<dependency>
|
||||
<groupId>cn.stylefeng.roses</groupId>
|
||||
<artifactId>kernel-a-rule</artifactId>
|
||||
<version>7.0.2</version>
|
||||
<version>7.0.3</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>cn.stylefeng.roses</groupId>
|
||||
<artifactId>kernel-d-seata</artifactId>
|
||||
<version>7.0.2</version>
|
||||
<version>7.0.3</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
@ -22,13 +22,13 @@
|
|||
<dependency>
|
||||
<groupId>cn.stylefeng.roses</groupId>
|
||||
<artifactId>seata-demo-storage-api</artifactId>
|
||||
<version>7.0.2</version>
|
||||
<version>7.0.3</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.stylefeng.roses</groupId>
|
||||
<artifactId>seata-demo-wallet-api</artifactId>
|
||||
<version>7.0.2</version>
|
||||
<version>7.0.3</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
|
|
@ -2,9 +2,10 @@ package cn.stylefeng.roses.kernel.seata.order.controller;
|
|||
|
||||
import cn.stylefeng.roses.kernel.seata.order.entity.Order;
|
||||
import cn.stylefeng.roses.kernel.seata.order.service.OrderService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
/**
|
||||
* 订单接口
|
||||
*
|
||||
|
@ -13,15 +14,18 @@ import org.springframework.web.bind.annotation.GetMapping;
|
|||
*/
|
||||
public class OrderController {
|
||||
|
||||
@Autowired
|
||||
OrderService orderService;
|
||||
@Resource
|
||||
private OrderService orderService;
|
||||
|
||||
/**
|
||||
* 创建订单
|
||||
*
|
||||
* @author wangyl
|
||||
* @date 2021/4/20 20:11
|
||||
*/
|
||||
@GetMapping("/create")
|
||||
Order create(String userId, String commodityCode, int orderCount){
|
||||
return orderService.create(userId,commodityCode,orderCount);
|
||||
public Order create(String userId, String commodityCode, int orderCount) {
|
||||
return orderService.create(userId, commodityCode, orderCount);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>cn.stylefeng.roses</groupId>
|
||||
<artifactId>kernel-d-seata</artifactId>
|
||||
<version>7.0.2</version>
|
||||
<version>7.0.3</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>cn.stylefeng.roses</groupId>
|
||||
<artifactId>kernel-d-seata</artifactId>
|
||||
<version>7.0.2</version>
|
||||
<version>7.0.3</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
|
Loading…
Reference in New Issue