perf: 邮箱目录: 查询不需`出发日期`

dev/ckeditor
Lei OT 4 months ago
parent 1e9f84665e
commit a61ed7eb82

@ -151,7 +151,7 @@ export const fetchEmailBindOrderAction = async (params) => {
* @param {object} { opi_sn }
*/
export const getEmailDirAction = async (params = { opi_sn: '' }) => {
const defaultParams = { opi_sn: 0, year: dayjs().year(), by_start_date: 1, by_success: -1, important: -1, if_want_book: -1, if_thinking: -1 }
const defaultParams = { opi_sn: 0, year: dayjs().year(), by_start_date: -1, by_success: -1, important: -1, if_want_book: -1, if_thinking: -1 }
const { errcode, result } = await fetchJSON(`http://202.103.68.144:8889/v3/email_dir`, { ...defaultParams, ...params })
return errcode === 0 ? result : [];
} ;

Loading…
Cancel
Save