mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 08:20:25 +08:00 
			
		
		
		
	简单基于DDD重构,并实现机器文件及脚本管理
This commit is contained in:
		@@ -27,7 +27,7 @@ func CreateToken(userId uint64, username string) string {
 | 
			
		||||
 | 
			
		||||
	// 使用自定义字符串加密 and get the complete encoded token as a string
 | 
			
		||||
	tokenString, err := token.SignedString([]byte(JwtKey))
 | 
			
		||||
	biz.BizErrIsNil(err, "token创建失败")
 | 
			
		||||
	biz.ErrIsNil(err, "token创建失败")
 | 
			
		||||
	return tokenString
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user