fixed:调整v2.5.0测试版bug (#931)
* update readme badge for en * server/middleware/operation.go : fix 当记录日志当请求为GET时,不对query参数进行记录 * update element badge to element--plus-2.0.1-green * fix unmatched type of id field * update badge for vue gorm in readme * fixed:#917 Co-authored-by: helight <helight@helight.info> Co-authored-by: wan9xy <wan9xy@qq.com> Co-authored-by: he <trumanhe0@gmail.com> Co-authored-by: 无星夜 <31583810+TrumanH@users.noreply.github.com>
This commit is contained in:
@@ -140,7 +140,7 @@ func (userService *UserService) SetUserAuthorities(id uint, authorityIds []strin
|
||||
//@param: id float64
|
||||
//@return: err error
|
||||
|
||||
func (userService *UserService) DeleteUser(id float64) (err error) {
|
||||
func (userService *UserService) DeleteUser(id int) (err error) {
|
||||
var user system.SysUser
|
||||
err = global.GVA_DB.Where("id = ?", id).Delete(&user).Error
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user