输出知识点
知识点一
1、添加站点后,先把文件权限修改好,如图下
2、访问站点搭建时,先创建数据库,再修改数据库权限,如图下
(注:Windows身份验证登录创建数据库,再设置权限数据库的权限,然后再登录自己的数据库账号,如图上)
知识点一
文章焦点图采用方式
降序 DESC
按推荐级降序/更新时间降序 Sort = "Priority DESC,PublishTime DESC"
按发布时间降序 Sort = "PublishTime DESC"
按id降序 Sort = "ContentId ASC"
按点击数降序 Sort = "Hits"
按点击数降序/发布时间降序 Sort = "Hits,PublishTime DESC"
升序 ASC
按发布时间升序 Sort = "PublishTime ASC"
按ID升序 Sort = "ContentId ASC"
@Power.ArticleList("文章焦点图", new { Count = 9, Node = "节点标识符", Sort = "Priority DESC,PublishTime DESC" })
文章标题列表采用方式
降序 DESC
按推荐级降序/更新时间降序 Sort = "Priority,PublishTime",SortOrder="desc,desc"
按发布时间降序 Sort = "PublishTime",SortOrder="desc"
按id降序 Sort = "ContentId",SortOrder="desc"
按点击数降序 Sort = "Hits" ,SortOrder="desc"
按点击数降序/发布时间降序 Sort = "Hits,PublishTime" ,SortOrder="desc"
升序 ASC
按发布时间升序 Sort = "PublishTime" ,SortOrder="asc"
按ID升序 Sort = "ContentId" ,SortOrder="asc"
@Power.ArticleList("文章标题列表" ,new { Node="节点标识符" ,Sort="Priority,PublishTime",SortOrder="desc,asc"})
用户登录
还没有账号?
立即注册