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": {
            canJoin: false, // 是否可参与，true-可参与	
            haveNext: true, // 是否有下一场，true-是	
            nextRainBeginTime: Date.now() + 1 * 24 * 60 * 60 * 1000, // 下一场红包雨开始时间戳，haveNext返回true时才有值	
            redRainCountDownTime: 10, // 红包雨倒计时长（单位：秒）
            redRainId: '1', // 红包雨id
          },
          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,
          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,
            }
          }),
          "firstMoneyPop1": {
            "notifyText": "<p>1.本次活动发放理财体验金及所获模拟投资收益均为虚拟资产，仅能在有效期内用于活动中的模拟交易，不能提现。</p><p>2.本次活动中模拟理财交易（申购、赎回等）为模拟规则，交易确认时间等与实际交易规则不同，真实理财交易规则请以各理财产品的产品说明书中约定为准。</p><p>3.为简化客户体验流程，本活动模拟交易不涉及客户风险承受等级与理财产品风险评级匹配的校验，真实理财产品交易请以我行理财产品交易规则为准。</p>",
            "experienceNum": 59442359
          },
          "giftPop1": {
            "todayPopFlag": true,
            "type": "2",
            "actPrizeVO": [
              {
                "prizeId": "1",
                "prizeName": "奖品名称1",
                "prizeImg": "//yun.duiba.com.cn/polaris/045CCBB8-F6C7-43DB-9F81-45F52430A878.441c8f13daf61c48b85fe383e764d9089f1d4a66.png"
              },
              {
                "prizeId": "2",
                "prizeName": "奖品名称2",
                "prizeImg": "//yun.duiba.com.cn/polaris/045CCBB8-F6C7-43DB-9F81-45F52430A878.441c8f13daf61c48b85fe383e764d9089f1d4a66.png"
              },
              {
                "prizeId": "3",
                "prizeName": "奖品名称3",
                "prizeImg": "//yun.duiba.com.cn/polaris/045CCBB8-F6C7-43DB-9F81-45F52430A878.441c8f13daf61c48b85fe383e764d9089f1d4a66.png"
              },
              {
                "prizeId": "4",
                "prizeName": "奖品名称4",
                "prizeImg": "//yun.duiba.com.cn/polaris/045CCBB8-F6C7-43DB-9F81-45F52430A878.441c8f13daf61c48b85fe383e764d9089f1d4a66.png"
              },
              {
                "prizeId": "5",
                "prizeName": "奖品名称5",
                "prizeImg": "//yun.duiba.com.cn/polaris/045CCBB8-F6C7-43DB-9F81-45F52430A878.441c8f13daf61c48b85fe383e764d9089f1d4a66.png"
              },
              {
                "prizeId": "thanks",
                "prizeName": "thanks",
                "prizeImg": "//yun.duiba.com.cn/polaris/045CCBB8-F6C7-43DB-9F81-45F52430A878.441c8f13daf61c48b85fe383e764d9089f1d4a66.png"
              },
            ]
          },
          "virtualAssets": {
            "preDayIncome": "656",
            "availableFunds": "76",
            "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-现金)
              "totalProfit": Math.random() * 1000000 >> 0, // 累计收益，mineProduct为true时有值，单位：分	
              "positionMoney": Math.random() * 1000000 >> 0, // 持仓金额，mineProduct为true时有值，单位：分
            }
          }),
          "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": '1', // 产品类型(0-非现金，1-现金)
              "rate": 6030
            },
            {
              "name": "产品名称",
              "shenShuGuiZei": "申赎规则文案",
              "touZiQiXianText": "投资期限文案",
              "qigouText": "起购文案",
              "baiFenBiText": "推荐百分比文案",
              "fengXian": "风险等级",
              "code": "产品编码",
              "status": "1",
              "realBuyJumpUrl": "真实买入跳转链接",
              "mineProduct": false,
              "type": '1', // 产品类型(0-非现金，1-现金)
              "rate": 6030
            },
            {
              "name": "产品名称",
              "shenShuGuiZei": "申赎规则文案",
              "touZiQiXianText": "投资期限文案",
              "qigouText": "起购文案",
              "baiFenBiText": "推荐百分比文案",
              "fengXian": "风险等级",
              "code": "产品编码",
              "status": "1",
              "realBuyJumpUrl": "真实买入跳转链接",
              "mineProduct": false,
              "type": '0', // 产品类型(0-非现金，1-现金)
              "rate": 6030
            },
          ],
          "boolWealth": false,
          "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": ['aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', "持有金额=持有份额×当前产品单位净值", "持有金额=持有份额×当前产品单位净值", "持有金额=持有份额×当前产品单位净值"],
          "avatar": null,
          "content": "个人投资者投资经历满2年，且家庭金融净资产不低于300万元人民币，或者家庭金融资产不低于500万元人民币，或者近3年本人年均收入不低于40万元人民币，可被认定为私募理财产品的合格投资者。",
          "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,
            }
          }),
        }
      }
    },
  }
]
