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: {
          "redRainConfig": [
            {
              "channel": "1",
              "endTime": "14:00:00",
              "joinStatus": false,
              "rainId": "1",
              "ruId": null,
              "startTime": "08:00:00"
            },
            {
              "channel": "1",
              "endTime": "23:00:00",
              "joinStatus": false,
              "rainId": "2",
              "ruId": null,
              "startTime": "14:01:30"
            }
          ],
          "redRainCountDownTime": 3,
          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,
          uid: '234234',
          productEnd: false,
          taskWealth: 3004044,
          todayPopFlag: true,
          ruleText: 'rulerulerulerulerulerulerule',
          "bigStartConfig": new Array(6).fill(1).map((_, index) => {
            if (index === 0) {
              return {
                "prizeImg": "//yun.duiba.com.cn/polaris/lockRedPack.68411f51f08d38845af18645a2578ae44e01458a.png",
                "unlockedPrizeImg": "//yun.duiba.com.cn/polaris/unLockRedPack.b2aa4a1073caeb7efe55024de7437663ea129c23.png",
                "min": 200,
                "max": 400,
              }
            }
            if (index === 1) {
              return {
                "prizeImg": "//yun.duiba.com.cn/polaris/555.09d6e959a2f4ec8ce8cc139ab6584e344e1185e0.png",
                "unlockedPrizeImg": "//yun.duiba.com.cn/polaris/unLockRedPack.b2aa4a1073caeb7efe55024de7437663ea129c23.png",
                "min": 400,
                "max": 600,
              }
            }
            if (index === 2) {
              return {
                "prizeImg": "//yun.duiba.com.cn/polaris/666.68411f51f08d38845af18645a2578ae44e01458a.png",
                "unlockedPrizeImg": "//yun.duiba.com.cn/polaris/unLockRedPack.b2aa4a1073caeb7efe55024de7437663ea129c23.png",
                "min": 400,
                "max": 600,
              }
            }
            if (index === 3) {
              return {
                "prizeImg": "//yun.duiba.com.cn/polaris/777.ac08cb5cc712ce33235ba4760b7b7b73ffd32477.png",
                "unlockedPrizeImg": "//yun.duiba.com.cn/polaris/unLockRedPack.b2aa4a1073caeb7efe55024de7437663ea129c23.png",
                "min": 400,
                "max": 600,
              }
            }
            if (index === 4) {
              return {
                "prizeImg": "//yun.duiba.com.cn/polaris/888.a7e0237398c9829c8351d5c158e76d9f5b3d7842.png",
                "unlockedPrizeImg": "//yun.duiba.com.cn/polaris/unLockRedPack.b2aa4a1073caeb7efe55024de7437663ea129c23.png",
                "min": 400,
                "max": 600,
              }
            }
            if (index === 5) {
              return {
                "prizeImg": "//yun.duiba.com.cn/polaris/999.66135d0aae8bf3d444567f5b566b3eedea9d41c8.png",
                "unlockedPrizeImg": "//yun.duiba.com.cn/polaris/unLockRedPack.b2aa4a1073caeb7efe55024de7437663ea129c23.png",
                "min": 400,
                "max": 600,
              }
            }
            return {
              "prizeImg": "//yun.duiba.com.cn/polaris/lockRedPack.68411f51f08d38845af18645a2578ae44e01458a.png",
              "unlockedPrizeImg": "//yun.duiba.com.cn/polaris/unLockRedPack.b2aa4a1073caeb7efe55024de7437663ea129c23.png",
              "min": 400,
              "max": 900,
            }
          }),
          "firstMoneyPop": {
            "notifyText": "文案文案文案文案文案文案文案文案 文案文文案文案文案文案文案 文案文文案文案文案文案文案 文案文文案文案文案文案文案 文案文文案文案文案文案文案 文案文文案文案文案文案文案 文案文文案文案文案文案文案 文案文案文案文案",
            "experienceNum": 59442359
          },
          "giftPop1": {
            todayPopFlag: true
          },
          "virtualAssets": {
            "preDayIncome": "656",
            "availableFunds": "10284329.43",
            "totalMoney": "359.334",
            // "realBuyJumpUrl": "anim consectetur dolor",
            "totalIncome": 359
          },
          "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"
      }
    },
  },
  {
    url: '/invite/coop_queryRecommand.do',
    response: ({ query }) => {
      return {
        "success": true,
        "data": {
          "recommendProductConfig": [
            {
              "name": "产品名称产品名称产品名称产品名称产品名称产品名称产品名称产品名称",
              "shenShuGuiZei": "申赎规则文案",
              "touZiQiXianText": "投资期限文案",
              "qigouText": "起购文案",
              "baiFenBiText": "推荐百分比文案",
              "fengXian": "风险等级风",
              "code": "产品编码",
              "status": "1",
              "realBuyJumpUrl": "真实买入跳转链接",
              "mineProduct": false,
              "type": "laboris est",
              "rate": 6030
            },
            {
              "name": "产品名称",
              "shenShuGuiZei": "申赎规则文案",
              "touZiQiXianText": "投资期限文案",
              "qigouText": "起购文案",
              "baiFenBiText": "推荐百分比文案",
              "fengXian": "风险等级",
              "code": "产品编码",
              "status": "1",
              "realBuyJumpUrl": "真实买入跳转链接",
              "mineProduct": false,
              "type": "laboris est",
              "rate": 6030
            },
            {
              "name": "产品名称",
              "shenShuGuiZei": "申赎规则文案",
              "touZiQiXianText": "投资期限文案",
              "qigouText": "起购文案",
              "baiFenBiText": "推荐百分比文案",
              "fengXian": "风险等级",
              "code": "产品编码",
              "status": "1",
              "realBuyJumpUrl": "真实买入跳转链接",
              "mineProduct": false,
              "type": "laboris est",
              "rate": 6030
            },
          ],
          "boolWealth": true,
          "amount": 147.8,
          "jumpUrl": "http://localhost:5173/?t=1"
        },
        "message": "Excepteur aute in irure proident",
        "code": "quis incididunt ipsum"
      }
    },
  },
  {
    url: '/task/queryTasks.do',
    response: ({ query }) => {
      return {
        "success": true,
        "code": "sit velit ut cillum laboris",
        "message": "ex ea proident",
        "data": {
          "item": [
            {
              "desc": "proident",
              "intervalLimit": 4,
              "intervalType": -87582645.95789616,
              "jumpUrl": "Ut aliquip eiusmod ut",
              "buttonText": "sunt labore quis Lorem ea",
              "icon": "//yun.duiba.com.cn/polaris/045CCBB8-F6C7-43DB-9F81-45F52430A878.441c8f13daf61c48b85fe383e764d9089f1d4a66.png",
              "code": "fxcp",
              "extra": "aliquip qui do laborum mollit",
              "completeSize": 2,
              "title": "风险测评",
              "subtitle": "任务描述1",
              "taskStatus": 0
            },
            {
              "desc": "proident",
              "intervalLimit": 4,
              "intervalType": -87582645.95789616,
              "jumpUrl": "Ut aliquip eiusmod ut",
              "buttonText": "sunt labore quis Lorem ea",
              "icon": "//yun.duiba.com.cn/polaris/045CCBB8-F6C7-43DB-9F81-45F52430A878.441c8f13daf61c48b85fe383e764d9089f1d4a66.png",
              "code": "csbj",
              "extra": "aliquip qui do laborum mollit",
              "completeSize": 2,
              "title": "花完初始本金",
              "subtitle": "任务描述2",
              "taskStatus": 0
            },
            {
              "desc": "proident",
              "intervalLimit": 4,
              "intervalType": -87582645.95789616,
              "jumpUrl": "Ut aliquip eiusmod ut",
              "buttonText": "sunt labore quis Lorem ea",
              "icon": "//yun.duiba.com.cn/polaris/045CCBB8-F6C7-43DB-9F81-45F52430A878.441c8f13daf61c48b85fe383e764d9089f1d4a66.png",
              "code": "invite",
              "extra": "aliquip qui do laborum mollit",
              "completeSize": 2,
              "title": "邀请助力任务",
              "subtitle": "任务描述3",
              "taskStatus": 0
            },
            {
              "desc": "proident",
              "intervalLimit": 4,
              "intervalType": -87582645.95789616,
              "jumpUrl": "Ut aliquip eiusmod ut",
              "buttonText": "sunt labore quis Lorem ea",
              "icon": "//yun.duiba.com.cn/polaris/045CCBB8-F6C7-43DB-9F81-45F52430A878.441c8f13daf61c48b85fe383e764d9089f1d4a66.png",
              "code": "answer",
              "extra": "aliquip qui do laborum mollit",
              "completeSize": 2,
              "title": "答题任务",
              "subtitle": "任务描述3",
              "taskStatus": 0
            },
          ]
        }
      }
    },
  },
  {
    url: '/task/doCompleted.do',
    response: ({ query }) => {
      return {
        "success": true,
        "code": "sit velit ut cillum laboris",
        "message": "ex ea proident",
        "data": {}
      }
    },
  },
  {
    url: '/task/sendPrize.do',
    response: ({ query }) => {
      return {
        "success": true,
        "code": "sit velit ut cillum laboris",
        "message": "ex ea proident",
        "data": {
          "optionName": "",
          "optionImg": "",
          "sendCount": 223
        }
      }
    },
  },
  {
    url: '/answer_1/query.do',
    response: ({ query }) => {
      return {
        "code": null,
        "data": {
          "joinStatus": true,
          "avatar": null,
          "teamExtra": "123",
          "fullStrength": true,
          "leaderAvatar": null,
          "leaderNickname": "0L809No0m_Z1J",
          "leaderUserId": "2000637",
          "memberCount": 3,
          "memberSize": 3,
          "nickname": "236183S9836_982",
          "options": [
            {
              "extra": null,
              "optionId": "o79a0b9d2",
              "optionImg": null,
              "optionName": "抽奖奖品",
              "position": null,
              "prizeId": "sp_1",
              "prizeType": 1,
              "ruleId": "ru_1",
              "sendCount": 1,
              "url": "null25969",
              "userRecordId": 25969
            }
          ],
          "score": 0,
          "teamCode": "Y7J506",
          "teamScore": 0,
          "teamType": "123",
          "userId": "1539357",
          "userIdentity": 2,
          "memberExtra": null
        },
        "message": null,
        "success": true
      }
    },
  },
  {
    url: '/answer_1/start.do',
    response: ({ query }) => {
      return {
        "code": null,
        "data": {
          "startId": '',
          "avatar": null,
          "teamExtra": "123",
          "fullStrength": true,
          "leaderAvatar": null,
          "leaderNickname": "0L809No0m_Z1J",
          "leaderUserId": "2000637",
          "memberCount": 3,
          "memberSize": 3,
          "nickname": "236183S9836_982"
        },
        "message": null,
        "success": true
      }
    },
  },
  {
    url: '/answer_1/getQuestion.do',
    response: ({ query }) => {
      return {
        "code": null,
        "data": {
          "answers": ['选项1选项1选项1选项1选项1选项1选项1选项1选项1选项1', "选项2", "选项3", "选项4"],
          "avatar": null,
          "content": "题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目",
          "fullStrength": true,
          "leaderAvatar": null,
          "leaderNickname": "0L809No0m_Z1J",
          "leaderUserId": "2000637",
          "memberCount": 3,
          "memberSize": 3,
          "nickname": "236183S9836_982"
        },
        "message": null,
        "success": true
      }
    },
  },
  {
    url: '/answer_1/submit.do',
    response: ({ query }) => {
      return {
        "code": null,
        "data": {
          "answer": {
            "right": true,
            "correctAnswers": ['2']
          },
          "avatar": null,
          "content": "题目",
          "fullStrength": true,
          "leaderAvatar": null,
          "leaderNickname": "0L809No0m_Z1J",
          "leaderUserId": "2000637",
          "memberCount": 3,
          "memberSize": 3,
          "nickname": "236183S9836_982"
        },
        "message": null,
        "success": true
      }
    },
  },
  {
    url: '/answer_1/doCompleted.do',
    response: ({ query }) => {
      return {
        "code": null,
        "data": {
          "answers": ['选项1', "选项2", "选项3", "选项4"],
          "avatar": null,
          "content": "题目",
          "fullStrength": true,
          "leaderAvatar": null,
          "leaderNickname": "0L809No0m_Z1J",
          "leaderUserId": "2000637",
          "memberCount": 3,
          "memberSize": 3,
          "options": [
            {
              "optionId": "o79a0b9d2",
              "optionImg": "//yun.duiba.com.cn/polaris/045CCBB8-F6C7-43DB-9F81-45F52430A878.441c8f13daf61c48b85fe383e764d9089f1d4a66.png",
              "optionName": "抽奖奖品",
            }
          ]
        },
        "message": null,
        "success": true
      }
    },
  },
  {
    url: '/home/queryWealthRecords.do',
    response: ({ query }) => {
      return {
        success: true,
        code: "",
        message: "",
        data: {
          haveMore: true,
          list: new Array(20).fill(1).map((_, i) => {
            return {
              description: "模拟理财金获取记录--" + i,
              gmtCreate: Date.now() + Math.random() * 1000000000,
              changeType: "+",
              buyAmount: 23333,
            }
          }),
        }
      }
    },
  },
  {
    url: '/invite/coop_assist.do',
    response: ({ query }) => {
      return {
        success: true,
        code: "",
        message: "sssss",
        data: {
          haveMore: true,
          list: new Array(20).fill(1).map((_, i) => {
            return {
              desc: "模拟理财金获取记录--" + i,
              gmtCreate: Date.now() + Math.random() * 1000000000,
              amount: Math.random() * 10000000 >> 0,
              tradeStatus: Math.random() * 3 >> 0,
            }
          }),
        }
      }
    },
  }
]
