设置自定义Module id时失败判断

This commit is contained in:
duanhf2012
2020-05-13 16:31:49 +08:00
parent 044fbf4be2
commit c7d11afcbd

View File

@@ -57,7 +57,7 @@ type Module struct {
func (slf *Module) SetModuleId(moduleId int64) bool{
if moduleId > 0 {
if slf.moduleId > 0 {
return false
}