export default [
  {
    url: '/home/isWhiteUser.do',
    response: ({ query }) => {
      return {
        success: true,
        code: "60002",
        // code: "60001",
        // code: "100001",
        message: "",
        timeStamp: Date.now(),
        data: null
      }
    },
  },
  {
    url: '/home/coop_codeUpdate.do',
    response: ({ query }) => {
      return {
        success: true,
        code: "",
        message: "",
        timeStamp: Date.now(),
        data: null
      }
    },
  },
  {
    url: '/home/coop_queryAgreement.do',
    response: ({ query }) => {
      return {
        success: true,
        code: "",
        message: "",
        timeStamp: Date.now(),
        data: {
          agreementTitle: '服务协议',
          agreementText: '服务协议内容',
        }
      }
    },
  },
  {
    url: '/home/index.do',
    response: ({ query }) => {
      return {
        success: true,
        code: "",
        message: "",
        timeStamp: Date.now(),
        data: {
          actStartTime: Date.now() - 1 * 24 * 60 * 60 * 1000,
          actEndTime: Date.now() + 3 * 24 * 60 * 60 * 1000,
          endPoint: Date.now() + 0.0001 * 24 * 60 * 60 * 1000,
          endPop: false,
          productEnd: true,
          uid: '234234',
          ruleText: 'rulerulerulerulerulerulerule',
          "bigStartConfig": new Array(5).fill(1).map((_, index) => {
            return {
              "prizeImg": "//yun.duiba.com.cn/polaris/redpacket_img.3e5efeebc67c039d147cf881bf72c7de4b7b1efd.png",
              "titleImg": "//yun.duiba.com.cn/polaris/redpacket_tag.e917e7cffb11dbfe48822d0b977e19fb7bab9d21.png"
            }
          }),
          "firstMoneyPop1": {
            "agreementText": "文案文案文案文案文案文案文案文案 文案文案文案文案",
            "experienceNum": 59442359
          },
          "virtualAssets": {
            "preDayIncome": "656",
            "availableFunds": "10284329.43",
            "totalMoney": "359998480.1",
            "realBuyJumpUrl": "anim consectetur dolor",
            "totalIncome": "8390.22"
          },
          "checkIn": {
            "totalCheckIn": 6,
            "todayCheckIn": false,
            "totalExperienceNum": 1420000,
            "checkInConfig": [
              {
                "id": 1,
                "days": 3,
                "experienceNum": 10000,
                "status": true
              },
              {
                "id": 2,
                "days": 5,
                "experienceNum": 30000,
                "status": false
              },
              {
                "id": 3,
                "days": 10,
                "experienceNum": 60000,
                "status": false
              },
              {
                "id": 4,
                "days": 20,
                "experienceNum": 90000,
                "status": false
              },
            ]
          },
          "recommendProductConfig": new Array(7).fill(1).map((_, index) => {
            return {
              "name": `固收纯债最短持有7天A款Z${index + 1}`,
              "shenShuGuiZei": "交易日申赎",
              "touZiQiXianText": "2023/03/26",
              "qigouText": "1元起购",
              "baiFenBiText": "90%活动用户选购本产品t",
              "fengXian": "中低风险",
              "code": index === 0 ? "23112008P" : "consectetur",
              "status": (index + 1) % 2 === 0 ? '1' : '0',
              "mineProduct": (index + 1) % 3 === 0,
              "realBuyJumpUrl": `https://www.baidu.com?t=${(index + 1)}`,
              "rate": 502, // 利率（需要除100展示）	
              "type": index === 0 ? '0' : '1', // 产品类型(0-非现金，1-现金)
            }
          }),
          "codeList": [
            { code: "23112008P", type: 0 },
            { code: "consectetur", type: 1 },
            { code: "non", type: 1 },
            { code: "tempor", type: 1 },
          ],
        }
      }
    },
  },
  {
    url: '/home/coop_sendCode.do',
    method: 'post',
    response: ({ query }) => {
      return {
        "code": "magna laborum amet",
        "data": {
          "resCode": "0000",
          "errorMsg": '错误信息', // 错误信息
        },
        "message": "nostrud aliqua irure dolore mollit",
        "success": true,
        "timestamp": -15469760.648778364
      }
    },
  },
  {
    url: '/home/coop_checkCode.do',
    method: 'post',
    response: ({ query }) => {
      return {
        "code": "magna laborum amet",
        "data": 'http://localhost:5173/?t=1',
        "message": "nostrud aliqua irure dolore mollit",
        "success": true,
        "timestamp": -15469760.648778364
      }
    },
  },
  {
    url: '/home/doCheckIn.do',
    response: ({ query }) => {
      return {
        success: true,
        code: "",
        message: "",
        data: 'ok',
      }
    },
  },
  {
    url: '/home/doRewards.do',
    response: ({ query }) => {
      return {
        success: true,
        code: "",
        message: "",
        data: 'ok',
      }
    },
  },
  {
    url: '/customActivity/hxlc/login',
    response: ({ query }) => {
      return {
        success: true,
        code: "",
        message: "",
        timeStamp: Date.now(),
        data: "//localhost:5174/?a=1"
      }
    },
  },
]
