Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!
Open sidebar
chainweaver
did
did-mgr-common-service
Commits
04f32b2f
Commit
04f32b2f
authored
1 year ago
by
starxxliu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add common 630 code --story=0
parent
1a0759f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
etc/commonservice.yaml
etc/commonservice.yaml
+1
-1
internal/logic/manager/grantedauthorizedrecordslogic.go
internal/logic/manager/grantedauthorizedrecordslogic.go
+1
-1
No files found.
etc/commonservice.yaml
View file @
04f32b2f
...
...
@@ -11,7 +11,7 @@ Service:
holder
:
http://192.168.3.170:18783
did
:
https://192.168.1.181:30003
tdh
:
http://192.168.1.135:8280
#文件授权服务
kms
:
1
27.0.0.1
:1
7
781
kms
:
1
92.168.3.170
:1
8
781
authority
:
"
http://127.0.0.1:18782"
# mysql链接地址,满足 $user:$password@tcp($ip:$port)/$db?$queries 格式即可
...
...
This diff is collapsed.
Click to expand it.
internal/logic/manager/grantedauthorizedrecordslogic.go
View file @
04f32b2f
...
...
@@ -101,7 +101,7 @@ func createVp(req interface{}, token *middleware.TokenUser) (vp *core.Verifiable
proof
:=
core
.
NewProof
(
core
.
ProofTypeSM2Signature
,
core
.
ProofPurpose
,
verificationMethod
,
""
,
nil
,
nil
,
nil
)
// 构建vp
vp
=
core
.
NewVerifiablePresentationBytesExtend
(
[]
string
{
"https://cnbn.org.cn/ns/
did
/v
1
"
},
[]
string
{
"https://cnbn.org.cn/ns/
vp
/v
2
"
},
id
,
""
,
core
.
VPType
,
...
...
This diff is collapsed.
Click to expand it.
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