current user transfer html use template func

This commit is contained in:
kenneth
2023-12-05 07:06:05 +00:00
parent 26ee393549
commit a6338a36ea
11 changed files with 68 additions and 114 deletions

View File

@@ -21,9 +21,9 @@
HLS流媒体
</a>
<ul class="flex oauth">
{{if .Authorize.ID}}
{{if currentUser}}
<li style="font-size: 12px;">
欢迎您: {{.Authorize.Name}}
欢迎您: {{ currentUser.Name }}
</li>
<li style="font-size: 12px;">
<a href="/me/videos">我的视频</a>