
export default [
  {
    url: '/home/isWhiteUser.do',
    response: ({ query }) => {
      return {
        success: true,
        code: "60002",
        // code: "60001",
        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,
          myEndTime: Date.now() + 1 * 24 * 60 * 60 * 1000,
          endPop: false,
          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"
            }
          }),
          "firstMoneyPop": {
            "agreementText": "文案文案文案文案文案文案文案文案 文案文案文案文案",
            "experienceNum": 59442359
          },
          firstMoneyPop: null,
          "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": "近1个月年化收益率(截至2023/03/26)",
              "qigouText": "1元起购",
              "baiFenBiText": "90%活动用户选购本产品t",
              "fengXian": "中低风险",
              "code": "23112008P",
              "status": index % 2 === 0 ? '1' : '0',
              "realBuyJumpUrl": `https://www.baidu.com?t=${index}`
            }
          }),
          "codeList": [
            "23112008P",
            "consectetur",
            "non",
            "tempor"
          ],
        }
      }
    },
  },
  {
    url: '/home/coop_sendCode.do',
    method: 'post',
    response: ({ query }) => {
      return {
        "code": "magna laborum amet",
        "data": {
          "code": 0, // 状态码（0 表示成功   0100 短信验证码发送失败）	
          "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',
      }
    },
  },

]
