自定义用户信息页面背景图片

This commit is contained in:
masnn committed 2020-06-11 12:49:34 +08:00
1 parent a8bddb4519
commit d14b63883e
5 files changed
+17 -16

No files matched your search

+5
View File
@@ -158,11 +158,16 @@ class HomeSettingsHandler extends Handler {
}
async get({ category }) {
const path = [
['Hydro', '/'],
['home_settings', null],
];
this.response.template = 'home_settings.html';
this.response.body = {
category,
page_name: `home_${category}`,
current: this.user,
path,
};
if (category === 'preference') {
this.response.body.settings = setting.PREFERENCE_SETTINGS;