Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1-office-web-sit
Commits
80e80716
Commit
80e80716
authored
Mar 21, 2022
by
吴迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【修改】修改个人中心问题
parent
219a5b68
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
TycpdmFirmController.java
...ffice/modules/manage/controller/TycpdmFirmController.java
+1
-1
TycpdmFirmServiceImpl.java
...ce/modules/manage/service/impl/TycpdmFirmServiceImpl.java
+6
-4
No files found.
src/main/java/io/office/modules/manage/controller/TycpdmFirmController.java
View file @
80e80716
...
...
@@ -74,7 +74,7 @@ public class TycpdmFirmController extends AbstractController {
@RequestMapping
(
"/api/test"
)
@Login
public
void
testRed
(
HttpServletResponse
response
)
throws
Exception
{
response
.
sendRedirect
(
"http://
v3.gds.org.cn
/registerOrLoginFromAncc.aspx?uname=test_tru&pwd=88DA15B9F9F602F0D32D46808652B06DC6E939D1424CE39F69A2AC39743F7ED7591975685B543E1D®ist_or_login_from_ancc=d67626ce2c09cbb4c6867eb65c945b53&dept=-2"
);
response
.
sendRedirect
(
"http://
manage.gds.org.cn/Original/WWW
/registerOrLoginFromAncc.aspx?uname=test_tru&pwd=88DA15B9F9F602F0D32D46808652B06DC6E939D1424CE39F69A2AC39743F7ED7591975685B543E1D®ist_or_login_from_ancc=d67626ce2c09cbb4c6867eb65c945b53&dept=-2"
);
}
/**
* 列表
...
...
src/main/java/io/office/modules/manage/service/impl/TycpdmFirmServiceImpl.java
View file @
80e80716
...
...
@@ -31,7 +31,6 @@ import io.office.common.utils.Query;
import
io.office.modules.manage.service.TycpdmFirmService
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.util.FileCopyUtils
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.multipart.MultipartFile
;
import
javax.servlet.http.HttpServletResponse
;
...
...
@@ -600,7 +599,7 @@ public class TycpdmFirmServiceImpl extends ServiceImpl<TycpdmFirmDao, TycpdmFirm
}
regist_or_login_from_ancc
=
dept
+
"{regist_or_login_from_ancc}"
;
regist_or_login_from_ancc
=
MD5Util
.
md5Encrypt32Lower
(
regist_or_login_from_ancc
);
String
url
=
"http://
v3.gds.org.cn
/registerOrLoginFromAncc.aspx?uname="
+
username
+
"&pwd="
+
pass
+
"®ist_or_login_from_ancc="
+
regist_or_login_from_ancc
+
"&dept="
+
dept
;
String
url
=
"http://
manage.gds.org.cn/Original/WWW
/registerOrLoginFromAncc.aspx?uname="
+
username
+
"&pwd="
+
pass
+
"®ist_or_login_from_ancc="
+
regist_or_login_from_ancc
+
"&dept="
+
dept
;
return
url
;
}
...
...
@@ -614,9 +613,12 @@ public class TycpdmFirmServiceImpl extends ServiceImpl<TycpdmFirmDao, TycpdmFirm
@Override
public
String
redirectGDSGLN
(
MemberEntity
memberUser
)
{
//
String
userName_M
=
DESUtils
.
byteToHexString
(
DESUtils
.
DES_CBC_Encrypt
(
memberUser
.
getUsername
().
getBytes
(),
"appsGdsn"
.
getBytes
()));
/*
String userName_M = DESUtils.byteToHexString(DESUtils.DES_CBC_Encrypt(memberUser.getUsername().getBytes(),"appsGdsn".getBytes()));
String pass_M = DESUtils.byteToHexString(DESUtils.DES_CBC_Encrypt(memberUser.getPass().getBytes(),"appsGdsn".getBytes()));
String
url
=
"http://gln.gs1cn.org/userAction_U.aspx?act=1&&username="
+
userName_M
+
"&&password="
+
pass_M
;
String url="http://gln.gs1cn.org/userAction_U.aspx?act=1&&username="+userName_M+"&&password="+pass_M;*/
String
url
=
"https://www.gds.org.cn/#/gln/index"
;
return
url
;
}
...
...
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