Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yibao
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
tanjuanjuan
yibao
Commits
68ca94cc
Commit
68ca94cc
authored
Feb 25, 2025
by
英思-陈欢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调试
parent
48b56361
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
18 deletions
+24
-18
App.vue
src/App.vue
+23
-17
index.ts
src/services/foo/index.ts
+1
-1
No files found.
src/App.vue
View file @
68ca94cc
...
...
@@ -71,23 +71,29 @@
showCancel
:
false
,
confirmText
:
'关闭'
})
// Api.foo.getXinhuaDecrypt({
// appid: 'dffb71ae33637ab293036b2c2a419127',
// systemcode: 'my-centre',
// type: 'sgy',
// encryptDataMap: info.data,
// }).then((res: any) => {
// console.log(res)
// getApp().globalData!.user = res.data;
// Api.foo.insuranceType({
// psnCertType: getApp().globalData!.user.psnCertType,
// certno: getApp().globalData!.user.certno,
// }).then((res: any) => {
// getApp().globalData!.user.psnNo = res.psnNo;
// getApp().globalData!.user.insuTypeCode = res.insutypeCode;
// getApp().globalData!.user.insuAdmdvs = res.insuAdmdvs;
// })
// })
Api
.
foo
.
getXinhuaDecrypt
({
appid
:
'dffb71ae33637ab293036b2c2a419127'
,
systemcode
:
'my-centre'
,
type
:
'sgy'
,
encryptDataMap
:
info
.
data
,
}).
then
((
res
:
any
)
=>
{
console
.
log
(
res
)
xma
.
showModal
({
title
:
'请求成功2'
,
content
:
JSON
.
stringify
(
res
),
//result.data.msg,
showCancel
:
false
,
confirmText
:
'关闭'
})
getApp
().
globalData
!
.
user
=
res
.
data
;
Api
.
foo
.
insuranceType
({
psnCertType
:
getApp
().
globalData
!
.
user
.
psnCertType
,
certno
:
getApp
().
globalData
!
.
user
.
certno
,
}).
then
((
res
:
any
)
=>
{
getApp
().
globalData
!
.
user
.
psnNo
=
res
.
psnNo
;
getApp
().
globalData
!
.
user
.
insuTypeCode
=
res
.
insutypeCode
;
getApp
().
globalData
!
.
user
.
insuAdmdvs
=
res
.
insuAdmdvs
;
})
})
}
});
}
...
...
src/services/foo/index.ts
View file @
68ca94cc
...
...
@@ -2,7 +2,7 @@ import request from '@/services/request';
// 获取用户信息
export
function
getXinhuaDecrypt
(
options
=
{})
{
return
request
.
post
(
'https://onemoment.gywb.cn/back/one-visit/one-visit/web/
ybVisit/ybSgySm2
'
,
options
);
return
request
.
post
(
'https://onemoment.gywb.cn/back/one-visit/one-visit/web/
oneVisit/getXinhuaDecrypt
'
,
options
);
}
// 枚举字典查询
...
...
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