Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center
Commits
0b824a7b
Commit
0b824a7b
authored
Oct 22, 2021
by
伍思炜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新智能平台对接开发
parent
37a678cf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
41 additions
and
2 deletions
+41
-2
apply-net/src/main/java/com/winsun/controller/TestController.java
+23
-0
common/src/main/java/com/winsun/bean/AttributeList.java
+13
-0
common/src/main/java/com/winsun/mapper/OrderMapper.java
+3
-0
common/src/main/java/com/winsun/outSideSystem/IntelligenceSendOrders.java
+0
-0
common/src/main/java/com/winsun/utils/ZnptSignUtils.java
+1
-1
core-service/src/main/resources/application-local.yml
+1
-1
No files found.
apply-net/src/main/java/com/winsun/controller/TestController.java
0 → 100644
View file @
0b824a7b
package
com
.
winsun
.
controller
;
import
com.alibaba.fastjson.JSONObject
;
import
com.winsun.bean.AttributeList
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
@RestController
public
class
TestController
{
@RequestMapping
(
value
=
"testPost"
,
method
=
RequestMethod
.
POST
)
public
AttributeList
testPost
(
@RequestBody
JSONObject
requestBean
)
{
System
.
out
.
println
(
requestBean
);
AttributeList
responseBean
=
new
AttributeList
();
responseBean
.
setName
(
"123"
);
responseBean
.
setValue
(
"succ"
);
return
responseBean
;
}
}
\ No newline at end of file
common/src/main/java/com/winsun/bean/AttributeList.java
0 → 100644
View file @
0b824a7b
package
com
.
winsun
.
bean
;
import
com.alibaba.fastjson.annotation.JSONField
;
import
lombok.Data
;
@Data
public
class
AttributeList
{
@JSONField
(
name
=
"属性名"
)
private
String
name
;
@JSONField
(
name
=
"属性值"
)
private
String
value
;
}
common/src/main/java/com/winsun/mapper/OrderMapper.java
View file @
0b824a7b
...
...
@@ -169,6 +169,9 @@ public interface OrderMapper extends BaseMapper<Order> {
@Select
(
"SELECT * FROM hhr_order WHERE user_type = '5' and order_status = '未下单'"
)
List
<
Map
<
String
,
Object
>>
selectDKList
();
@Select
(
"SELECT * FROM hhr_order WHERE user_type = '5' and kd_order_id = 'vpsg0u4l4y8tkp1aimlh'"
)
Map
<
String
,
Object
>
selectDKList2
();
/**
* 一人一码订单通报 -- 移动订单(学校)
...
...
common/src/main/java/com/winsun/outSideSystem/IntelligenceSendOrder
2
.java
→
common/src/main/java/com/winsun/outSideSystem/IntelligenceSendOrder
s
.java
View file @
0b824a7b
This diff is collapsed.
Click to expand it.
common/src/main/java/com/winsun/utils/ZnptSignUtils.java
View file @
0b824a7b
...
...
@@ -16,7 +16,7 @@ public class ZnptSignUtils {
private
final
SecretKeySpec
secretKey
;
public
ZnptSignUtils
()
{
try
{
byte
[]
data
=
macKey
.
getBytes
(
ENCODING
);
this
.
secretKey
=
new
SecretKeySpec
(
data
,
MAC_NAME
);
...
...
core-service/src/main/resources/application-local.yml
View file @
0b824a7b
...
...
@@ -10,7 +10,7 @@ eureka:
serviceUrl
:
defaultZone
:
http://localhost:20000/eureka/
server
:
port
:
1000
2
port
:
1000
3
servlet
:
context-path
:
/ciop
tomcat
:
...
...
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