Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
baa-pay-server
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
贺超
baa-pay-server
Commits
3911c327
Commit
3911c327
authored
Sep 29, 2021
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
创建项目
parent
aa3faa16
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
PayTestController.java
...rc/main/java/cn/quant/baa/pay/rest/PayTestController.java
+0
-5
TechController.java
...r/src/main/java/cn/quant/baa/pay/rest/TechController.java
+8
-1
No files found.
baa-pay-server/src/main/java/cn/quant/baa/pay/rest/PayTestController.java
View file @
3911c327
...
...
@@ -50,11 +50,6 @@ public class PayTestController extends BusinessController {
return
"pay/h5"
;
}
@RequestMapping
(
"ipv4"
)
public
String
ipv4
(
HttpServletRequest
request
)
{
return
"var CLIENT_IP=\""
+
getClientAddress
(
request
)
+
"\""
;
}
@RequestMapping
(
"checkPay"
)
public
String
checkPay
(
CheckPayRequestData
data
,
Model
model
,
HttpServletRequest
servletRequest
)
throws
Exception
{
String
res
=
""
;
...
...
baa-pay-server/src/main/java/cn/quant/baa/pay/rest/TechController.java
View file @
3911c327
...
...
@@ -4,12 +4,19 @@ import org.springframework.http.ResponseEntity;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.servlet.http.HttpServletRequest
;
/**
* Created by Administrator on 2021/9/28 0028.
*/
@RestController
@RequestMapping
(
"/tech"
)
public
class
TechController
{
public
class
TechController
extends
BusinessController
{
@RequestMapping
(
"ipv4"
)
public
String
ipv4
(
HttpServletRequest
request
)
{
return
"var CLIENT_IP=\""
+
getClientAddress
(
request
)
+
"\";"
;
}
@RequestMapping
(
"/health/check"
)
public
ResponseEntity
checkHealth
()
throws
Exception
{
...
...
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