@@ -508,6 +508,7 @@ func (this *ProductController) ProductList() {
IsPermanent: product.IsPermanent,
Description: product.Description,
SourceId: product.SourceId,
+ CreatedTime: product.CreatedTime.Format(time.DateTime),
}
if product.CoverUrl == "" && product.CoverSrc > 0 {
image, imageErr := models.GetImageById(product.CoverSrc)
@@ -175,6 +175,7 @@ type ProductView struct {
SaleStatus string
Creator string
Description string
+ CreatedTime string
func GetRiskLevel(productType string, id int) (riskLevel string, productName string, permissionName string, err error) {