mirror of
https://github.com/XZB-1248/Spark
synced 2025-10-10 10:20:06 +08:00
add: log system
This commit is contained in:
@@ -86,7 +86,7 @@ func GenerateClient(ctx *gin.Context) {
|
||||
return
|
||||
}
|
||||
clientUUID := utils.GetUUID()
|
||||
clientKey, err := common.EncAES(clientUUID, config.Config.StdSalt)
|
||||
clientKey, err := common.EncAES(clientUUID, config.Config.SaltBytes)
|
||||
if err != nil {
|
||||
ctx.AbortWithStatusJSON(http.StatusInternalServerError, modules.Packet{Code: 1, Msg: `${i18n|configGenerateFailed}`})
|
||||
return
|
||||
|
Reference in New Issue
Block a user