feat: 更新CC码监管方案业务版文档,新增摘要、UGC专项、直播专项、存量处置、误判申诉、水印嵌入、CC码生命周期、组织保障等章节;同步macode到cccode重命名及其他代码变更
This commit is contained in:
@@ -44,7 +44,7 @@ type ParsedMA struct {
|
||||
|
||||
// ResolveResult 跨域解析网关返回(四期 C.1/C.2,大小屏统一解析)。
|
||||
type ResolveResult struct {
|
||||
MACode string `json:"ma_code"`
|
||||
CCCode string `json:"ma_code"`
|
||||
Parsed ParsedMA `json:"parsed"`
|
||||
Title string `json:"title"`
|
||||
Status string `json:"status"` // 流通状态(published/revoked/...)
|
||||
@@ -58,7 +58,7 @@ type ResolveResult struct {
|
||||
|
||||
// ScanVerifyResult 用户扫码验真返回(四期 B.2)。
|
||||
type ScanVerifyResult struct {
|
||||
MACode string `json:"ma_code"`
|
||||
CCCode string `json:"ma_code"`
|
||||
Authentic bool `json:"authentic"` // MA 码真伪(链上存在且结构合法)
|
||||
Compliant bool `json:"compliant"` // 是否合规流通(未下架)
|
||||
Status string `json:"status"`
|
||||
@@ -70,7 +70,7 @@ type ScanVerifyResult struct {
|
||||
|
||||
// PurchaseRecord 用户一次购买记录(四期 D.1)。
|
||||
type PurchaseRecord struct {
|
||||
MACode string `json:"ma_code"`
|
||||
CCCode string `json:"ma_code"`
|
||||
UserHash string `json:"user_hash"`
|
||||
Screen ScreenType `json:"screen"` // 购买时所在屏
|
||||
PurchasedAt time.Time `json:"purchased_at"`
|
||||
@@ -79,12 +79,12 @@ type PurchaseRecord struct {
|
||||
// UserRights 用户跨屏权益账户:以 MA 码为维度记录购买,任一屏购买即全屏通看。
|
||||
type UserRights struct {
|
||||
UserHash string `json:"user_hash"`
|
||||
Purchases map[string]PurchaseRecord `json:"purchases"` // maCode -> record
|
||||
Purchases map[string]PurchaseRecord `json:"purchases"` // ccCode -> record
|
||||
}
|
||||
|
||||
// CrossScreenRightsResult 跨屏权益核验返回(四期 D.1)。
|
||||
type CrossScreenRightsResult struct {
|
||||
MACode string `json:"ma_code"`
|
||||
CCCode string `json:"ma_code"`
|
||||
UserHash string `json:"user_hash"`
|
||||
Entitled bool `json:"entitled"` // 是否有权益(任一屏购买即全屏通看)
|
||||
RequestScreen ScreenType `json:"request_screen"` // 当前请求屏
|
||||
|
||||
Reference in New Issue
Block a user