Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-api
Project
Project
Details
Activity
Releases
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
李伟
cust-api
Commits
c0ebe58d
Commit
c0ebe58d
authored
Jan 22, 2025
by
liwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
3ca5c1b4
8df5418e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
4 deletions
+18
-4
application-test-conf.yml
config/application-test-conf.yml
+4
-4
WxMiniServiceImpl.java
...org/rcisoft/app/login/service/impl/WxMiniServiceImpl.java
+4
-0
CmsOrderController.java
...soft/business/cmsOrder/controller/CmsOrderController.java
+10
-0
No files found.
config/application-test-conf.yml
View file @
c0ebe58d
...
@@ -127,8 +127,8 @@ sms:
...
@@ -127,8 +127,8 @@ sms:
global
:
global
:
path
:
path
:
base_upload_location
:
/working/
resource/eduServer
/
base_upload_location
:
/working/
file
/
base_discovery
:
'
http://1
92.168.1.12:8888/eduServer
/'
base_discovery
:
'
http://1
06.3.97.198:20164/file
/'
code
:
code
:
admin
:
ROLE_1001
admin
:
ROLE_1001
resetPassword
:
123456
resetPassword
:
123456
...
@@ -160,8 +160,8 @@ wx:
...
@@ -160,8 +160,8 @@ wx:
timeOut
:
3600
timeOut
:
3600
pay
:
pay
:
# 支付请求回调地址
# 支付请求回调地址
notifyUrl
:
https://
qf.91isoft.com/lh
/app/wxPay/notifyCallBack
notifyUrl
:
https://
project.91isoft.com/sns
/app/wxPay/notifyCallBack
notifyRefundUrl
:
https://
qf.91isoft.com/lh
/app/wxPay/notifyRefundCallBack
notifyRefundUrl
:
https://
project.91isoft.com/sns
/app/wxPay/notifyRefundCallBack
# 微信商户号
# 微信商户号
mchId
:
1615816319
mchId
:
1615816319
# 微信支付的商户密钥
# 微信支付的商户密钥
...
...
src/main/java/org/rcisoft/app/login/service/impl/WxMiniServiceImpl.java
View file @
c0ebe58d
...
@@ -391,6 +391,10 @@ public class WxMiniServiceImpl implements WxMiniService {
...
@@ -391,6 +391,10 @@ public class WxMiniServiceImpl implements WxMiniService {
resultMap
.
put
(
CyWxMiniCons
.
DATA
,
sysUserRbac
);
resultMap
.
put
(
CyWxMiniCons
.
DATA
,
sysUserRbac
);
MemInfo
memberInfo
=
memInfoRepository
.
getInfoByUserId
(
String
.
valueOf
(
sysUserRbac
.
getBusinessId
()));
MemInfo
memberInfo
=
memInfoRepository
.
getInfoByUserId
(
String
.
valueOf
(
sysUserRbac
.
getBusinessId
()));
resultMap
.
put
(
"memberId"
,
memberInfo
.
getBusinessId
());
resultMap
.
put
(
"memberId"
,
memberInfo
.
getBusinessId
());
//将会员信息存入redis
SysUser
user
=
new
SysUser
();
BeanUtil
.
copyProperties
(
sysUserRbac
,
user
);
cyRedisServiceImpl
.
set
(
RedisCons
.
MEMBER_INFO
+
":"
+
sysUserRbac
.
getBusinessId
(),
user
);
return
resultMap
;
return
resultMap
;
}
}
...
...
src/main/java/org/rcisoft/business/cmsOrder/controller/CmsOrderController.java
View file @
c0ebe58d
...
@@ -201,4 +201,14 @@ public class CmsOrderController extends CyPaginationController<CmsOrder> {
...
@@ -201,4 +201,14 @@ public class CmsOrderController extends CyPaginationController<CmsOrder> {
CyMessCons
.
MESSAGE_ALERT_ERROR
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
cmsOrderServiceImpl
.
manualCompensateOrder
(
dto
));
cmsOrderServiceImpl
.
manualCompensateOrder
(
dto
));
}
}
@CyOpeLogAnno
(
title
=
"system-订单管理-人工退单"
,
businessType
=
CyLogTypeEnum
.
UPDATE
)
@Operation
(
summary
=
"人工退单"
,
description
=
"人工退单"
)
@PostMapping
(
value
=
"/cancel"
)
public
CyResult
cancel
(
@RequestBody
CmsOrder
orderInfo
)
{
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
cmsOrderServiceImpl
.
cancel
(
orderInfo
));
}
}
}
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