mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-01-09 06:17:52 +00:00
add page rank sort order attribute
This commit is contained in:
parent
8671fc4bde
commit
74dd15e544
@ -9,12 +9,12 @@ source hostPage
|
|||||||
sql_port = 3306 # optional, default is 3306
|
sql_port = 3306 # optional, default is 3306
|
||||||
|
|
||||||
sql_query = \
|
sql_query = \
|
||||||
SELECT hostPage.hostPageId, hostPage.metaTitle, hostPage.metaDescription, hostPage.metaKeywords, hostPage.data, hostPage.uri, host.name \
|
SELECT hostPage.hostPageId, hostPage.rank, hostPage.metaTitle, hostPage.metaDescription, hostPage.metaKeywords, hostPage.data, hostPage.uri, host.name \
|
||||||
FROM hostPage \
|
FROM hostPage \
|
||||||
JOIN host ON (host.hostId = hostPage.hostId) \
|
JOIN host ON (host.hostId = hostPage.hostId) \
|
||||||
WHERE host.status = '1' AND hostPage.httpCode = 200
|
WHERE host.status = '1' AND hostPage.httpCode = 200
|
||||||
|
|
||||||
sql_attr_uint = hostPageId
|
sql_attr_uint = rank
|
||||||
}
|
}
|
||||||
|
|
||||||
index hostPage
|
index hostPage
|
||||||
|
Loading…
Reference in New Issue
Block a user