fix: ci dir error

This commit is contained in:
zzw
2026-08-21 14:59:08 +08:00
parent 5034aeeaf7
commit 0e76d6dfca
25 changed files with 1860 additions and 469 deletions
+20
View File
@@ -0,0 +1,20 @@
package logic
import (
ad "lone-services/rpc/ad/pb"
"lone-services/services/ad/internal/dao"
)
func toAdItem(row dao.AdInfo) *ad.Item {
return &ad.Item{
Id: int64(row.Id),
Type: uint32(row.Type),
Image: row.Image,
Content: row.Content,
Reason: row.Reason,
Status: uint32(row.Status),
Url: row.Url,
UpdateTime: row.UpdateTime,
CreateTime: row.CreateTime,
}
}