Code Monkey home page Code Monkey logo

Comments (11)

xboxa5105 avatar xboxa5105 commented on August 19, 2024 1

@PichuChen
這個issue 關聯到Ptt-official-app/Ptt-backend#59
再麻煩assign 給我 謝謝

from go-bbs.

PichuChen avatar PichuChen commented on August 19, 2024

@PichuChen
這個issue 關聯到Ptt-official-app/Ptt-backend#59
再麻煩assign 給我 謝謝

@xboxa5105 再麻煩你了

from go-bbs.

PichuChen avatar PichuChen commented on August 19, 2024

@whitefloor 我可以確認一下這個 ISSUE 是針對 http 還是 usecase 還是 repository 的嗎?

from go-bbs.

whitefloor avatar whitefloor commented on August 19, 2024

@PichuChen
是針對repository的

from go-bbs.

PichuChen avatar PichuChen commented on August 19, 2024

這邊看起來 go-bbs 應該是不用動才對?

from go-bbs.

whitefloor avatar whitefloor commented on August 19, 2024

需要實作go-bbs的Query
我是參照repository的這段程式碼去引用go-bbs的API
image

from go-bbs.

PichuChen avatar PichuChen commented on August 19, 2024

現在應該是歷史文章查詢?所以應該不是使用 UserFavoriteRecords?

from go-bbs.

PichuChen avatar PichuChen commented on August 19, 2024

應該是用 https://pkg.go.dev/github.com/PichuChen/go-bbs#DB.ReadBoardArticleRecordsFile 這個做篩選?

from go-bbs.

whitefloor avatar whitefloor commented on August 19, 2024

應該說是引用他撰寫的方式,想說用userID就可以取得這個人過往的所有歷史文章
目前實作我是這樣
image

如果用https://pkg.go.dev/github.com/PichuChen/go-bbs#DB.ReadBoardArticleRecordsFile
應該是變成取得看板文章了

from go-bbs.

PichuChen avatar PichuChen commented on August 19, 2024

對,就是先取得看板文章,然後在 Ptt-backend 這邊判斷這篇文章屬不屬於某個使用者的,可能判斷過之後要再把判斷過的結果存下來?

from go-bbs.

whitefloor avatar whitefloor commented on August 19, 2024

好的,這樣我明白了,那這個issue再請你刪除,感謝

from go-bbs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.