Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
94462d7a
Commit
94462d7a
authored
Jul 24, 2023
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小程序扫描登录接口地址修改
parent
a991f314
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
LoginController.java
.../amos/boot/module/tzs/biz/controller/LoginController.java
+5
-3
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/controller/LoginController.java
View file @
94462d7a
...
@@ -11,6 +11,8 @@ import org.springframework.web.bind.annotation.RequestMapping;
...
@@ -11,6 +11,8 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
/**
/**
* @author zjw
* @author zjw
...
@@ -18,7 +20,7 @@ import org.typroject.tyboot.core.restful.doc.TycloudOperation;
...
@@ -18,7 +20,7 @@ import org.typroject.tyboot.core.restful.doc.TycloudOperation;
*/
*/
@RestController
@RestController
@RequestMapping
(
value
=
"/we
app
/api"
)
@RequestMapping
(
value
=
"/we
chat
/api"
)
@Api
(
tags
=
"小程序登录api"
)
@Api
(
tags
=
"小程序登录api"
)
public
class
LoginController
{
public
class
LoginController
{
...
@@ -103,7 +105,7 @@ public class LoginController {
...
@@ -103,7 +105,7 @@ public class LoginController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
value
=
"获取机器人登录token"
,
notes
=
"获取机器人登录token"
)
@ApiOperation
(
value
=
"获取机器人登录token"
,
notes
=
"获取机器人登录token"
)
@GetMapping
(
value
=
"/acquireToken"
)
@GetMapping
(
value
=
"/acquireToken"
)
synchronized
public
String
getRobotLoginToken
()
{
synchronized
public
ResponseModel
<
String
>
getRobotLoginToken
()
{
return
amosRequestContext
.
getToken
(
);
return
ResponseHelper
.
buildResponse
(
amosRequestContext
.
getToken
()
);
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment