event.js 269 B

12345678910
  1. // 动态
  2. const createOption = require('../util/option.js')
  3. module.exports = (query, request) => {
  4. const data = {
  5. pagesize: query.pagesize || 20,
  6. lasttime: query.lasttime || -1,
  7. }
  8. return request(`/api/v1/event/get`, data, createOption(query, 'weapi'))
  9. }