This website works better with JavaScript.
Home
Explore
Help
Sign In
EggPlanet
/
egg_system_rules
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
3
Wiki
Activity
Browse Source
升级
master
huangjiajun
2 days ago
parent
d895a4983b
commit
53b0bbdaa0
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
rule/user_upgrade.go
+ 1
- 1
rule/user_upgrade.go
View File
@@ -27,7 +27,7 @@ func UserUpgradeInsert(eg *xorm.Engine, uid int) error {
isNext = 1
}
}
if level
=
= user.Level {
if level
<
= user.Level {
return errors.New("等级相同")
}
task, err := UserUpgradeTask(eg, int(user.Id), level)
Write
Preview
Loading…
Cancel
Save