修复 NewSuccess

This commit is contained in:
zhangdeman committed 2022-06-26 13:24:33 +08:00
1 parent dce8cafff2
commit f29c21f923
1 file changed
+1 -1
+1 -1
View File
@@ -126,6 +126,6 @@ func IsSuccess(e *Exception) bool {
// Author : go_developer@163.com<白茶清欢> // Author : go_developer@163.com<白茶清欢>
// //
// Date : 22:35 2022/6/25 // Date : 22:35 2022/6/25
func NewSuccess(data map[string]interface{}) *Exception { func NewSuccess(data interface{}) *Exception {
return New(defaultSuccessCode, defaultHttpCode, data) return New(defaultSuccessCode, defaultHttpCode, data)
} }
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.