change api cakk
This commit is contained in:
parent
66eeed7848
commit
655e50420c
|
@ -3,7 +3,7 @@
|
||||||
{{ if .UserID }}
|
{{ if .UserID }}
|
||||||
{{ $gqm := atoi (.Gin.Query "mode") }}
|
{{ $gqm := atoi (.Gin.Query "mode") }}
|
||||||
{{ $global := . }}
|
{{ $global := . }}
|
||||||
{{ with (.Get "users/full?id=%d" .UserID) }}
|
{{ with (.Get "users/ap/full?id=%d" .UserID) }}
|
||||||
{{ $favouritemode := _or $gqm .favourite_mode }}
|
{{ $favouritemode := _or $gqm .favourite_mode }}
|
||||||
<script>
|
<script>
|
||||||
window.favouriteMode = {{ $favouritemode }};
|
window.favouriteMode = {{ $favouritemode }};
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{{ if .UserID }}
|
{{ if .UserID }}
|
||||||
{{ $gqm := atoi (.Gin.Query "mode") }}
|
{{ $gqm := atoi (.Gin.Query "mode") }}
|
||||||
{{ $global := . }}
|
{{ $global := . }}
|
||||||
{{ with (.Get "users/full?id=%d" .UserID) }}
|
{{ with (.Get "users/rx/full?id=%d" .UserID) }}
|
||||||
{{ $favouritemode := _or $gqm .favourite_mode }}
|
{{ $favouritemode := _or $gqm .favourite_mode }}
|
||||||
<script>
|
<script>
|
||||||
window.favouriteMode = {{ $favouritemode }};
|
window.favouriteMode = {{ $favouritemode }};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user