Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b4760b32
authored
Jun 06, 2023
by
wangli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统一增加url前缀pea-order
1 parent
afade85c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
2 deletions
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/EngineerController.java
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/EnginnerTimelineController.java
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/OrderAssignController.java
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/OrderController.java
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/OrderServiceDetailController.java
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/OrderServiceListController.java
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/EngineerController.java
View file @
b4760b3
...
...
@@ -3,10 +3,12 @@ package com.alibaba.cloud.integration.order.controller;
import
com.alibaba.cloud.integration.common.BusinessException
;
import
com.alibaba.cloud.integration.common.Result
;
import
com.alibaba.cloud.integration.order.service.EngineerService
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
@RestController
@RequestMapping
(
"/pea-order"
)
public
class
EngineerController
{
@Autowired
...
...
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/EnginnerTimelineController.java
View file @
b4760b3
...
...
@@ -5,11 +5,13 @@ import com.alibaba.cloud.integration.order.dto.EnginnerTimelineReq;
import
com.alibaba.cloud.integration.order.service.EnginnerTimelineService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
@RestController
@RequestMapping
(
"/pea-order"
)
public
class
EnginnerTimelineController
{
@Autowired
...
...
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/OrderAssignController.java
View file @
b4760b3
...
...
@@ -8,6 +8,7 @@ import org.springframework.stereotype.Controller;
import
org.springframework.web.bind.annotation.*
;
@RestController
@RequestMapping
(
"/pea-order"
)
public
class
OrderAssignController
{
@Autowired
...
...
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/OrderController.java
View file @
b4760b3
...
...
@@ -30,13 +30,13 @@ import org.springframework.web.bind.annotation.RestController;
* @author TrevorLink
*/
@RestController
@RequestMapping
(
"/order"
)
@RequestMapping
(
"/
pea-
order"
)
public
class
OrderController
{
@Autowired
private
OrderService
orderService
;
@PostMapping
(
"/create"
)
@PostMapping
(
"/
order/
create"
)
public
Result
<?>
createOrder
(
@RequestParam
(
"userId"
)
String
userId
,
@RequestParam
(
"commodityCode"
)
String
commodityCode
,
@RequestParam
(
"count"
)
Integer
count
)
{
...
...
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/OrderServiceDetailController.java
View file @
b4760b3
...
...
@@ -5,10 +5,12 @@ import com.alibaba.cloud.integration.common.Result;
import
com.alibaba.cloud.integration.order.service.OrderServiceDetail
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
@RestController
@RequestMapping
(
"/pea-order"
)
public
class
OrderServiceDetailController
{
@Autowired
...
...
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/OrderServiceListController.java
View file @
b4760b3
...
...
@@ -10,6 +10,7 @@ import org.springframework.web.bind.annotation.*;
* @author wangl@zjhuixinyun.com
*/
@RestController
@RequestMapping
(
"/pea-order"
)
public
class
OrderServiceListController
{
@Autowired
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment