mirror of https://gitee.com/answerdev/answer.git
Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center
# Conflicts: # ui/src/common/interface.ts # ui/src/services/client/question.ts
This commit is contained in:
commit
f6b98f65be
|
@ -246,7 +246,7 @@ export type QuestionOrderBy =
|
|||
export interface QueryQuestionsReq extends Paging {
|
||||
order: QuestionOrderBy;
|
||||
tag?: string;
|
||||
day?: number;
|
||||
in_days?: number;
|
||||
}
|
||||
|
||||
export type AdminQuestionStatus = 'available' | 'closed' | 'deleted';
|
||||
|
|
|
@ -22,7 +22,7 @@ export const useHotQuestions = (
|
|||
page: 1,
|
||||
page_size: 6,
|
||||
order: 'frequent',
|
||||
day: 7,
|
||||
in_days: 7,
|
||||
},
|
||||
) => {
|
||||
const apiUrl = `/answer/api/v1/question/page?${qs.stringify(params)}`;
|
||||
|
|
Loading…
Reference in New Issue