Comments (11)
@PichuChen
這個issue 關聯到Ptt-official-app/Ptt-backend#59
再麻煩assign 給我 謝謝
from go-bbs.
@PichuChen
這個issue 關聯到Ptt-official-app/Ptt-backend#59
再麻煩assign 給我 謝謝
@xboxa5105 再麻煩你了
from go-bbs.
@whitefloor 我可以確認一下這個 ISSUE 是針對 http 還是 usecase 還是 repository 的嗎?
from go-bbs.
@PichuChen
是針對repository的
from go-bbs.
這邊看起來 go-bbs 應該是不用動才對?
from go-bbs.
需要實作go-bbs的Query
我是參照repository的這段程式碼去引用go-bbs的API
from go-bbs.
現在應該是歷史文章查詢?所以應該不是使用 UserFavoriteRecords?
from go-bbs.
應該是用 https://pkg.go.dev/github.com/PichuChen/go-bbs#DB.ReadBoardArticleRecordsFile 這個做篩選?
from go-bbs.
應該說是引用他撰寫的方式,想說用userID就可以取得這個人過往的所有歷史文章
目前實作我是這樣
如果用https://pkg.go.dev/github.com/PichuChen/go-bbs#DB.ReadBoardArticleRecordsFile
應該是變成取得看板文章了
from go-bbs.
對,就是先取得看板文章,然後在 Ptt-backend 這邊判斷這篇文章屬不屬於某個使用者的,可能判斷過之後要再把判斷過的結果存下來?
from go-bbs.
好的,這樣我明白了,那這個issue再請你刪除,感謝
from go-bbs.
Related Issues (20)
- [主線] [PTT] 實作修改文章
- [建議] jwt 套件更換
- [BUG] WriteBoardArticleFile 沒有 close file
- [建議] lint checks增加timeout option HOT 1
- [BUG] DB.WriteUserDraft 函數中的 draftContent 參數型別應為 UserDraft
- [BUG] 無法新增推文
- [主線] [PTT] 實作 articleRecord 推噓文統計
- [建議] CI 支援跨平台測試及編譯 HOT 1
- [一般] 貢獻者名單 HOT 1
- [主線] [PTT] 取得使用者設定 HOT 5
- [主線] [PTT] 實作看板發文限制以及細部資訊 HOT 2
- [主線] [PTT] 實作在文章底部新增一行文字的method
- [主線] [PTT] 實作在文章底部新增一行文字的method HOT 11
- [主線] [PTT] 實作發表文章 HOT 1
- [主線] [PTT] 實作個人看板的歷史留言
- [主線] [PTT] 實作 erase_tmpbuf HOT 1
- [主線] [PTT] 實作 read_tmpbuf HOT 1
- [主線] [PTT] 實作 write_tmpbuf HOT 4
- [建議] 修改 UserCommentRecord HOT 4
- [主線] [PTT] 實作解析推文
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-bbs.