// @ts-ignore
// import { Request, Response } from 'express';

module.exports = {
  'GET /api/currentUser': (req, res) => {
    res.status(200).send({
      name: '韩磊',
      avatar: '',
      userid: 'de98FdAe-1fcA-985e-7EDe-A79E8FFA854E',
      email: 'a.lrl@mffnge.ph',
      signature: '般立层子米基断北得行办的七住。',
      title: '做众亲子所化下基计称数照。',
      group: '服务技术部',
      tags: [
        { key: 1, label: 'IT 互联网' },
        { key: 2, label: '海纳百川' },
        { key: 3, label: '川妹子' },
        { key: 4, label: '海纳百川' },
        { key: 5, label: '算法工程师' },
        { key: 6, label: '很有想法的' },
        { key: 7, label: 'IT 互联网' },
        { key: 8, label: '专注设计' },
      ],
      notifyCount: 93,
      unreadCount: 70,
      country: '韩国',
      access: '众因变无律周体严器外在不根。',
      geographic: {
        province: { label: '新疆维吾尔自治区', key: 9 },
        city: { label: '珠海市', key: 10 },
      },
      address: '河南省 南阳市 桐柏县',
      phone: '11283974361',
    });
  },
  'GET /api/notices': (req, res) => {
    res.status(200).send({
      data: [
        {
          id: '26fd5659-6818-c9Ee-CdCF-Bc69FBf157F5',
          extra: 'FreB',
          key: 12,
          read: true,
          avatar: 'https://avatars1.githubusercontent.com/u/8186664?s=40&v=4',
          title: '万究改非走命造之可从参打最。',
          status: 'default',
          datetime: '1980-10-19',
          description: '有青设加包阶手别无往向导年关参才管复。',
          type: 'notification',
        },
        {
          id: '8b52fe55-2887-AC2B-Db2B-1fD3Ea9beeE2',
          extra: '9uQO$Jh',
          key: 13,
          read: false,
          avatar:
            'https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png',
          title: '往条再习价机指北很些参转派。',
          status: 'error',
          datetime: '1988-12-24',
          description: '很格连然实验九一眼到号适。',
          type: 'notification',
        },
        {
          id: 'Ff1312b7-34bd-d9FC-FC2a-a34D6eCEEbD2',
          extra: '(Oe6',
          key: 14,
          read: false,
          avatar:
            'https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png',
          title: '广级般千此这于节相制认要特革。',
          status: 'processing',
          datetime: '1975-10-13',
          description: '亲适地新水那图广候今属活法低正求。',
          type: 'notification',
        },
        {
          id: 'B353AcAB-d9FE-DCa5-309E-AfF43bC2DD92',
          extra: 'Z@Z^ij',
          key: 15,
          read: false,
          avatar:
            'https://gw.alipayobjects.com/zos/rmsportal/udxAbMEhpwthVVcjLXik.png',
          title: '家不发经得器形如布力到议调采引。',
          status: 'processing',
          datetime: '1996-11-23',
          description: '后何完十称利任里石须连因思。',
          type: 'notification',
        },
        {
          id: '4fe4A8b3-B6E5-dC3d-3864-f4da4fcF1d3f',
          extra: 'b7OW',
          key: 16,
          read: false,
          avatar:
            'https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png',
          title: '观现太照号真安第活增日离准说写为这。',
          status: 'processing',
          datetime: '1975-04-07',
          description: '厂克装省期那两八在别真通新府。',
          type: 'notification',
        },
        {
          id: '4Eefc7d3-eec7-eEC6-fDf5-EF9AF8C158B7',
          extra: 't5%p',
          key: 17,
          read: true,
          avatar:
            'https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png',
          title: '图面济习果然选打儿往并进美。',
          status: 'default',
          datetime: '1981-07-21',
          description: '之记议按气不人劳清且院日。',
          type: 'notification',
        },
        {
          id: 'e368F8dc-B236-04Ab-cB05-B1D6A541Da2C',
          extra: 'GuGb5',
          key: 18,
          read: true,
          avatar:
            'https://gw.alipayobjects.com/zos/rmsportal/udxAbMEhpwthVVcjLXik.png',
          title: '海准到团权题时住称即按常火制。',
          status: 'error',
          datetime: '2014-09-18',
          description: '入者属时思因至小文保美管好已电音可上。',
          type: 'notification',
        },
        {
          id: 'bD4EfbDc-5337-eec7-DaDB-FedABF06F884',
          extra: '^#(b',
          key: 19,
          read: false,
          avatar: '',
          title: '次话织才决色素马型规毛员准越住林。',
          status: 'warning',
          datetime: '1998-09-05',
          description: '化属新道商步响酸非历至该风四维属需。',
          type: 'notification',
        },
        {
          id: 'ab69bfDD-f535-ADbb-Cf3d-E5CA7DbEF2ad',
          extra: '(DAIG',
          key: 20,
          read: true,
          avatar:
            'https://gw.alipayobjects.com/zos/rmsportal/udxAbMEhpwthVVcjLXik.png',
          title: '流较术合联风样少节打体中门八。',
          status: 'default',
          datetime: '1996-01-03',
          description: '改原非还着取步效只华农名社。',
          type: 'notification',
        },
        {
          id: '418C7EeA-fDbC-843d-F76D-2BC23A9e8eF2',
          extra: 'suvQ$O',
          key: 21,
          read: false,
          avatar:
            'https://gw.alipayobjects.com/zos/rmsportal/udxAbMEhpwthVVcjLXik.png',
          title: '为公受条总此类影所提无受万南非事具。',
          status: 'default',
          datetime: '1975-12-08',
          description: '间特快装铁我品给求六片由青信区。',
          type: 'notification',
        },
        {
          id: 'ac9F7ae7-F3d2-bC14-cC5D-a38Fca151Eac',
          extra: 'HIX9@)',
          key: 22,
          read: true,
          avatar:
            'https://gw.alipayobjects.com/zos/rmsportal/udxAbMEhpwthVVcjLXik.png',
          title: '展生起而两边断指内布数点铁压具。',
          status: 'processing',
          datetime: '2004-11-21',
          description: '观织回走此性写任主在设新力小这想。',
          type: 'notification',
        },
        {
          id: 'c41f9c0A-cBDc-F07F-B85D-5DC3d0574d77',
          extra: 'Bwlc!Bq',
          key: 23,
          read: true,
          avatar:
            'https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png',
          title: '或内局段花革器规关价快和口音安京。',
          status: 'default',
          datetime: '1994-08-07',
          description: '有增史子太采只月则全革百习风此强。',
          type: 'notification',
        },
      ],
      total: 63,
      success: false,
    });
  },
};