Change Status Read
對應 legacy API:
/quote_bids/change_status/read/{quote_bid_id}.json快速結論
- 用途:consumer / provider 進入 quote chat 或 quote detail 後標記已讀。
- actor:quote request owner 或 bid provider。
- new API:
Endpoint/V1/QuoteBids.php::change_status_read() - routing:
Lib/Common/RouterRule/Mapping.php - 狀態:已存在。
成功 side effect
consumer 讀取:
quote_bids.is_requestor_readed = 1quote_bids.requestor_last_read_on = nowquote_requests.requestor_last_read_on = now- 寫
quote_activities.ViewBid - 第一次讀 manual quote 時會送
request_requestor_read_count - 第一次進聊天室 read 會觸發 auto message / first read quote handling
provider 讀取:
quote_bids.is_provider_readed = 1quote_bids.provider_last_read_on = nowquote_requests.provider_last_read_on = now- 更新 my work unread count
- 送
task_event_queue.update_badge - 第一次讀 manual quote 時會送
request_provider_read_count
注意
- consumer 在 new leads 邀請前、manual quote 報價前,若 bid 還不是
InProgress/Hired,new API 會直接 return,不處理 read。 - queue 驗證要接受
task_event_queue或task_event_queue_log任一存在。