mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-03 22:45:13 +08:00
设置自定义Module id时失败判断
This commit is contained in:
@@ -57,7 +57,7 @@ type Module struct {
|
||||
|
||||
|
||||
func (slf *Module) SetModuleId(moduleId int64) bool{
|
||||
if moduleId > 0 {
|
||||
if slf.moduleId > 0 {
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user