feat:注释不用的代码
This commit is contained in:
@ -70,7 +70,7 @@ func (c *Paper) Form(params *PaperParams) error {
|
||||
return err
|
||||
} else if !isExist {
|
||||
return errors.New("当前论文信息不存在")
|
||||
} else if mTechnologyPaper.UID != c.ManageUID {
|
||||
} else if mTechnologyPaper.MUid != c.ManageUID {
|
||||
return errors.New("无权限操作")
|
||||
}
|
||||
}
|
||||
@ -84,7 +84,7 @@ func (c *Paper) Form(params *PaperParams) error {
|
||||
|
||||
if params.ID <= 0 {
|
||||
mTechnologyPaper.TenantID = c.TenantID
|
||||
mTechnologyPaper.UID = c.ManageUID
|
||||
mTechnologyPaper.MUid = c.ManageUID
|
||||
mTechnologyPaper.Local.Local = c.local
|
||||
return model2.Create(mTechnologyPaper.TechnologyPaper)
|
||||
}
|
||||
|
Reference in New Issue
Block a user