Skip to content

Commit d422c34

Browse files
committed
书籍拷贝之后书籍项目所属用户修正
1 parent 073d7a3 commit d422c34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controllers/BookController.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,7 @@ func (this *BookController) Copy() {
681681
sourceBook.Author = strings.TrimSpace(this.GetString("author", ""))
682682
sourceBook.AuthorURL = strings.TrimSpace(this.GetString("author_url", ""))
683683
sourceBook.PrivatelyOwned, _ = strconv.Atoi(this.GetString("privately_owned"))
684+
sourceBook.MemberId = this.Member.MemberId
684685
err = sourceBook.Copy(sourceIdentify)
685686
if err != nil {
686687
this.JsonResult(1, "拷贝书籍失败:"+err.Error())

0 commit comments

Comments
 (0)