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