mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-09-21 12:32:25 +00:00
chore: 修正几个okwithdata 的误用 (#1077)
This commit is contained in:
@@ -35,7 +35,7 @@ func OkWithMessage(message string, c *gin.Context) {
|
||||
}
|
||||
|
||||
func OkWithData(data interface{}, c *gin.Context) {
|
||||
Result(SUCCESS, data, "操作成功", c)
|
||||
Result(SUCCESS, data, "查询成功", c)
|
||||
}
|
||||
|
||||
func OkWithDetailed(data interface{}, message string, c *gin.Context) {
|
||||
|
||||
Reference in New Issue
Block a user