change api cakk

This commit is contained in:
Alicia 2019-02-24 00:33:53 +00:00
parent 66eeed7848
commit 655e50420c
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
{{ if .UserID }}
{{ $gqm := atoi (.Gin.Query "mode") }}
{{ $global := . }}
{{ with (.Get "users/full?id=%d" .UserID) }}
{{ with (.Get "users/ap/full?id=%d" .UserID) }}
{{ $favouritemode := _or $gqm .favourite_mode }}
<script>
window.favouriteMode = {{ $favouritemode }};

View File

@ -3,7 +3,7 @@
{{ if .UserID }}
{{ $gqm := atoi (.Gin.Query "mode") }}
{{ $global := . }}
{{ with (.Get "users/full?id=%d" .UserID) }}
{{ with (.Get "users/rx/full?id=%d" .UserID) }}
{{ $favouritemode := _or $gqm .favourite_mode }}
<script>
window.favouriteMode = {{ $favouritemode }};