Merge remote-tracking branch 'origin/tuoyun' into tuoyun

pull/131/head
wenxu12345 3 years ago
commit 38cc72a3f9

@ -100,7 +100,7 @@ func SelectAllUserID() ([]string, error) {
return nil, err return nil, err
} }
var resultArr []string var resultArr []string
err = dbConn.Table("user").Select("user_id").Pluck("user_id", &resultArr).Error err = dbConn.Table("user").Pluck("user_id", &resultArr).Error
if err != nil { if err != nil {
return nil, err return nil, err
} }

Loading…
Cancel
Save