feat:完善信息

This commit is contained in:
henry
2021-10-13 14:41:46 +08:00
parent 8866b83cfb
commit 52dc8cb57d
8 changed files with 29 additions and 29 deletions

View File

@ -13,10 +13,10 @@ import (
// Paper 论文管理
type Paper struct {
*service.SessionEnterprise
local uint64
local string
}
type PaperHandle func(enterprise *service.SessionEnterprise, local uint64) *Paper
type PaperHandle func(enterprise *service.SessionEnterprise, local string) *Paper
type (
PaperInfo struct {
@ -113,7 +113,7 @@ func (c *Paper) Delete(id uint64) error {
}
func NewPaper() PaperHandle {
return func(enterprise *service.SessionEnterprise, local uint64) *Paper {
return func(enterprise *service.SessionEnterprise, local string) *Paper {
return &Paper{enterprise, local}
}
}