Skip to content

Commit ed3c546

Browse files
Penty-dACaiCat
andauthored
Apply suggestions from code review
Co-authored-by: Cai <13110818005@qq.com> Signed-off-by: Pentyd <69415577+Penty-d@users.noreply.github.com>
1 parent 164a424 commit ed3c546

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/utils/id.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func MarkGraduate(id string) string {
3939
}
4040

4141
// RemoveUndergraduatePrefix 去除本科生的学号前缀,返回真实学号。
42-
// 学号格式为 xxyyxxxxx(9位,2026年前入学)或 xxyyxxxxxx(10位,2026年起入学),
42+
// 学号格式为 xxyyxxxxx(9位,2026年前入学)或 xxxyyxxxxx(10位,2026年起入学),
4343
// 其中第3-4位 yy 为入学年份,通过年份判断学号位数。
4444
func RemoveUndergraduatePrefix(id string) string {
4545
if len(id) < constants.StudentIDLength {

0 commit comments

Comments
 (0)