mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 12:56:28 +08:00
4.3.2
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>com.gitee.sop</groupId>
|
||||
<artifactId>sop-parent</artifactId>
|
||||
<version>4.3.1-SNAPSHOT</version>
|
||||
<version>4.3.2-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath> <!-- lookup parent from repository -->
|
||||
</parent>
|
||||
|
||||
|
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>com.gitee.sop</groupId>
|
||||
<artifactId>sop-parent</artifactId>
|
||||
<version>4.3.1-SNAPSHOT</version>
|
||||
<version>4.3.2-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath> <!-- lookup parent from repository -->
|
||||
</parent>
|
||||
|
||||
|
@@ -4,7 +4,7 @@
|
||||
<parent>
|
||||
<groupId>com.gitee.sop</groupId>
|
||||
<artifactId>sop-parent</artifactId>
|
||||
<version>4.3.1-SNAPSHOT</version>
|
||||
<version>4.3.2-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath> <!-- lookup parent from repository -->
|
||||
</parent>
|
||||
|
||||
|
@@ -111,6 +111,16 @@ public class Example1001_BaseController {
|
||||
return result;
|
||||
}
|
||||
|
||||
@Open(value = "story.system.param.get2")
|
||||
@GetMapping("/get/system/param/v2")
|
||||
public StoryResult systemParam2() {
|
||||
StoryResult result = new StoryResult();
|
||||
OpenContext openContext = ServiceContext.getCurrentContext().getOpenContext();
|
||||
String token = openContext.getAppAuthToken();
|
||||
result.setName(token);
|
||||
return result;
|
||||
}
|
||||
|
||||
// 参数绑定,少量参数可以这样写,参数多了建议放进类里面
|
||||
@Open(value = "story.oneparam")
|
||||
@GetMapping("/oneParam/v1")
|
||||
|
Reference in New Issue
Block a user