export default [
  {
    url: '/virtual/coop_codeUpdate.do',
    response: () => {
      return {
        success: true,
        code: "",
        message: "",
        timeStamp: Date.now(),
        data: null
      }
    },
  },
  {
    url: '/home/coop_queryAgreement.do',
    response: () => {
      return {
        success: true,
        code: "",
        message: "",
        timeStamp: Date.now(),
        data: {
          agreementTitle: '服务协议',
          agreementText: '服务协议内容',
        }
      }
    },
  },
  {
    url: '/virtual/index.do',
    response: () => {
      return {
        success: true,
        code: "",
        message: "",
        timeStamp: Date.now(),
        data: {
          "actStartTime": 1764691200000,
          "actEndTime": 1796227200000,
          // "firstMoneyPop": {
          //   "agreementText": "协议文案anim dolore cillum elit voluptate协议文案",
          //   "experienceNum": 27126512
          // },
          "virtualAssets": {
            "preDayIncome": 131300,
            "availableFunds": 232400,
            "totalMoney": 7778800,
            "totalIncome": 888800,
            "profit": 4678
          },
          "recommendProductConfig": new Array(7).fill(1).map((item, index) => ({
            "name": `固收纯债最短持有7天A款Z${index + 1}`,
            "shenShuGuiZei": "交易日申赎",
            "qigouText": "1元起购",
            "fengXian": "中低风险",
            "code": index === 0 ? "23112008P" : "consectetur",
            "realBuyJumpUrl": `https://www.baidu.com?t=${(index + 1)}`,
            "mineProduct":  (index + 1) % 3 === 0,
            "type": index === 0 ? '0' : '1', // 产品类型(0-非现金，1-现金)
            "rate": 502, // 利率（需要除100展示）
            "positionMoney":  Math.random() * 1000000 >> 0, // 累计收益，mineProduct为true时有值，单位：分	
            "totalProfit": Math.random() * 1000000 >> 0, // 持仓金额，mineProduct为true时有值，单位：分
          })),
          "codeList": new Array(7).fill(1).map((item, index) => ({
            "code": index === 0 ? "23112008P" : "consectetur",
            "type": index === 0 ? '0' : '1', // 产品类型(0-非现金，1-现金)
          })),
          "productEnd": false,
          // (24 * 60 * 60 * 1000 * 3)
          "endPoint": new Date().getTime() - 1000,
          "giftPop": {
            "actPrizeVO": new Array(6).fill(1).map((_, i) => {
              return {
                "prizeId": `prizeId${i}`,
                "prizeName": `prizeName${i}`,
                "prizeImg": `prizeImg${i}`,
              }
            }),
            "pop": false,
            "show": true
          },
          "lastMonthRankPop": false,
          // "overallRankPop": {
          //   "prizeId": "anim",
          //   "prizeImg": "officia velit dolor ex",
          //   "prizeName": "culpa non dolore"
          // },
          "bannerInfo": new Array(7).fill(1).map((item, index) => ({
            "bannerImg": `http://xqtpl.com/bg/300/300/banner${index+1}?color=fff`,
            "bannerLink": "http://xqtpl.com/bg/300/300?color=fff"
          })),
          "canJoinCurrentRank": true,
          "currentTime": new Date().getTime(),
          "black": false,
          "lcGradeIcon": true,
        }
      }
    },
  },
  {
    url: '/virtual/receiveNewGift.do',
    response: () => { 
      return {
        success: true,
        code: "",
        message: "",
        data: {
          "ruleId": "proident Lorem occaecat eiusmod",
          "url": "enim",
          "userRecordId": -64633769.59404985,
          "prizeType": -81808785,
          "prizeId": "prizeId9",
          "optionImg": "quis nisi adipisicing",
          "optionName": "cupidatat",
          "optionId": "commodo nulla ut minim",
          "sendCount": -72243885.95094098,
          "position": 44009232,
          "extra": "deserunt Lorem exercitation voluptate"
        },
      }
    },
  },
  {
    url: 'real/signIn.do',
    response: () => {
      return {
        success: true,
        code: "",
        message: "",
      }
    },
  },
  {
    url: '/checkIn_1/querySign.do',
    response: () => {
      return {
        success: true,
        code: "",
        message: "",
        data: {
          "todaySign": false,
          "timestamp": 16801398.66960779,
          "startTime": "do Lorem consequat nostrud eiusmod",
          "signDay": -1660347.3435138166,
          "endTime": "eiusmod",
          "todayAwardPrize": true,
          "endTimestamp": -77923184.77720958,
          "startTimestamp": -59513998.29387225,
          "optionRuleType": 29184341,
          "intervalType": -99025689,
          "intervalDays": 16432886,
          "statType": 10786917,
          "nowIssue": false,
          "prizeDays": [
            "3",
            "5",
            "7",
          ],
          "extra": "null",
          "signDays": [
            "1",
          ]
        }
      }
    },
  },
  {
    url: '/checkIn_1/doCheckIn.do',
    response: () => { 
      return {
        success: true,
        code: "",
        message: "",
        data: {
         "otherPrizeInfo": {
            "productName": "deserunt in aliquip",
            "prizeName": "culpa non dolore",
            "link": "minim et commodo eu ullamco"
          },
          "extra": "tempor sunt ipsum",
          "index": 56578012.98964235,
          "options": [],
          "sendPrize": true,
          "timestamp": -16626685.26357001
        }
      }
    },
  },
  {
    url: '/checkIn_1/completeSignView.do',
    response: () => {
      return {
        success: true,
        code: "",
        message: "",
        data: {
          "ruleId": "voluptate qui id do proident",
          "url": "dolore ad eu pariatur",
          "userRecordId": -61652610.372493036,
          "prizeType": -44199772,
          "prizeId": "dolore fugiat",
          "optionImg": "amet aliqua",
          "optionName": "100元",
          "optionId": "eiusmod",
          "sendCount": 15610138.453658357,
          "position": 34910431,
          "extra": "nostrud Excepteur sint et pariatur"
        }
      }
    },
  },
  {
    url: '/virtual/tradeRecords.do',
    response: () => {
        return {
            success: true,
            code: "",
            message: "",
            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,
                        /** 0-购买待确认，1-购买成功，2-赎回成功，3-购买失败） */
                        tradeStatus: Math.random() * 3 >> 0,
                    }
                }),
            }
        }
    },
  },
  {
    url: '/product/index.do',
    response: () => {
      return {
        success: true,
        code: "",
        message: "",
        timeStamp: Date.now(),
        data: {
          productName: "productName",
          totalProfit: Math.random() * 100000 >> 0,
          tranche: 7660,
          marketValue: Math.random() * 10000000 >> 0,
          yesterdayProfit: Math.random() * 10000 >> 0,
          availableFunds: 7690,
          minBuyLimit: 1,
        }
      }
    },
  },
  {
    url: '/product/buy.do',
    response: () => {
      return {
        success: true,
        code: "",
        message: "",
        data: null,
      }
    },
  },
  {
    url: '/product/redeem.do',
    response: () => {
      return {
        success: true,
        code: "",
        message: "",
        data: null,
      }
    },
  },
  // 获取取排行榜
  {
    url: '/rank/queryRankInfo.do',
    response: () => {
      return {
        success: true,
        code: "",
        message: "",
        data: {
           // 理财排行榜-奖品列表
            rankOptions: [
              {
                ranking: 1, //排名	
                name: '100元', //奖品名称	
                image: '', //图片	
              },
                {
                ranking: 2, //排名	
                name: '100元', //奖品名称	
                image: '', //图片	
              },
                {
                ranking: 3, //排名	
                name: '100元', //奖品名称	
                image: '', //图片	
              }, {
                ranking: 4, //排名	
                name: '100元', //奖品名称	
                image: '', //图片	
              }
            ],
            // 理财排行榜-用户信息
            rankInfos:[
                {
                  index: 1, //排名,null表示未上榜，前端判断大于等于100，展示99+	
                  userName:'136xxxx7894', // 用户名	
                  userId: 1, //用户id	
                  score: 4318, //收益率	
                  meFlag: false //是否是我，为true是
                },
                {
                  index: 2, //排名,null表示未上榜，前端判断大于等于100，展示99+	
                  userName:'136xxxx7894', // 用户名	
                  userId:1, //用户id	
                  score: 3318, //收益率	
                  meFlag: false //是否是我，为true是
                },
                {
                  index: 3, //排名,null表示未上榜，前端判断大于等于100，展示99+	
                  userName:'136xxxx7894', // 用户名	
                  userId:1, //用户id	
                  score: null, //收益率	
                  meFlag: false //是否是我，为true是
                },
                {
                  index: 4, //排名,null表示未上榜，前端判断大于等于100，展示99+	
                  userName:'136xxxx7894', // 用户名	
                  userId:1, //用户id	
                  score: 1318, //收益率	
                  meFlag: false //是否是我，为true是
                },
                {
                  index: 5, //排名,null表示未上榜，前端判断大于等于100，展示99+	
                  userName:'136xxxx7894', // 用户名	
                  userId:1, //用户id	
                  score: 0, //收益率	
                  meFlag: false //是否是我，为true是
                },
                // {
                //   index: 6, //排名,null表示未上榜，前端判断大于等于100，展示99+	
                //   userName:'136xxxx7894', // 用户名	
                //   userId:1, //用户id	
                //   score: -123, //收益率	
                //   meFlag: false //是否是我，为true是
                // },
                // {
                //   index: 7, //排名,null表示未上榜，前端判断大于等于100，展示99+	
                //   userName:'136xxxx7894', // 用户名	
                //   userId:1, //用户id	
                //   score: 43.18, //收益率	
                //   meFlag: false //是否是我，为true是
                // },
                // {
                //   index: 8, //排名,null表示未上榜，前端判断大于等于100，展示99+	
                //   userName:'136xxxx7894', // 用户名	
                //   userId:1, //用户id	
                //   score: 43.18, //收益率	
                //   meFlag: false //是否是我，为true是
                // },
                // {
                //   index: 9, //排名,null表示未上榜，前端判断大于等于100，展示99+	
                //   userName:'136xxxx7894', // 用户名	
                //   userId:1, //用户id	
                //   score: 43.18, //收益率	
                //   meFlag: false //是否是我，为true是
                // },
                // {
                //   index: 10, //排名,null表示未上榜，前端判断大于等于100，展示99+	
                //   userName:'136xxxx7894', // 用户名	
                //   userId:1, //用户id	
                //   score: 43.18, //收益率	
                //   meFlag: false //是否是我，为true是
                // }
            ],
            // 理财排行榜-我的排名
            myRank:{
              index: 99, //排名,null表示未上榜，前端判断大于等于100，展示99+	
              userName:'136xxxx7894', // 用户名	
              userId:1, //用户id	
              score: 43.18, //收益率	
            }
        }
      }
    },
  },
  // 查看分布信息
  {
    url: '/rank/queryDisperseInfo.do',
     response: () => {
      return {
        success: true,
        code: "",
        message: "",
        data: {
          "holdInfo":[
              {
                productName:'华夏理财固收增强',
                profit:'17.72',
                ratio:'35.50',
              },
              {
                productName:'华夏理财固收增强 最短持有120天A款B',
                profit:'17.72',
                ratio:'35.50',
              },
              {
                productName:'华夏理财固收增强 最短持有120天A款C',
                profit:'17.72',
                ratio:'35.50',
              },
              {
                productName:'华夏理财固收增强 最短持有120天A款D',
                profit:'17.72',
                ratio:'35.50',
              },
              {
                productName:'华夏理财固收增强 最短持有120天A款E',
                profit:'17.72',
                ratio:'35.50',
              },
          ]
        }
      }
    }
  },
  // 理财成绩-首页
  {
    url: '/draw/index.do',
    response: () => {
      return {
        success: true,
        code: "",
        message: "",
        data: {
          "amount": 3000000, // 理财资金（单位：分）
          "profit": 3000000, // 累计收益（单位：分
          "cycleStartTime":1765210868000, //理财周期起始时间（毫秒时间戳）	
          "cycleEndTime": 1765383668000, //理财周期结束时间（毫秒时间戳）"
          "rank": 1 , //必须   收益率排名，返回null表示未上榜，前端判断是否大于等于100，大于等于100展示99+
          "drawStatus": 2,  // 抽奖状态，0-直接领奖，1-点击抽奖（盲盒形式),2-已领奖
          "joinStatus": true, // 参与状态，true-当月已参与，false-当月未参与
          "prizeInfo":{
             "prizeId": 1, //奖品id	
             "prizeName": '京东E卡',  //奖品名称	
             "prizeImg": '' //奖品图片
          }
        }
      }
    }
  },
  // 理财成绩-领奖
  {
    url: '/draw/join.do',
    response: () => {
      return {
        success: true,
        code: "",
        message: "",
        data: {
          ruleId: 1, // 发奖规则Id	
          optionId: 2 , // 奖项id	
          optionName: '京东E卡', // 奖项名称	
          optionImg:'', // 奖项图片地址	
          prizeId: 1, // 奖品id，thanks表示谢谢参与	
          prizeType: 0 , //奖品的类型  0-谢谢参与；1-道具奖品； 2-兑吧奖品；  3-自定义奖品；  4-福袋	
          position:'', //奖项的位置	
          userRecordId: 10, //奖品中奖记录id	
          url:'', // 奖品跳转地址	
          sendCount: 1, //奖品发放个数	
          extra:'', // 额外信息
        },
      }
    }
  },

  {
    url: '/home/coop_sendCode.do',
    method: 'post',
    response: () => {
      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: () => {
      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: () => {
      return {
        success: true,
        code: "",
        message: "",
        data: 'ok',
      }
    },
  },
  {
    url: '/home/doRewards.do',
    response: () => {
      return {
        success: true,
        code: "",
        message: "",
        data: 'ok',
      }
    },
  },
  {
    url: '/customActivity/hxlc/login',
    response: () => {
      return {
        success: true,
        code: "",
        message: "",
        timeStamp: Date.now(),
        data: "//localhost:5174/?a=1"
      }
    },
  },
  {
    url: '/inviteAssist_1/coop_queryRecommand.do',
    response: () => {
      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_1/queryTasks.do',
    response: () => {
      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_1/doCompleted.do',
    response: () => {
      return {
        "success": true,
        "code": "sit velit ut cillum laboris",
        "message": "ex ea proident",
        "data": {}
      }
    },
  },
  {
    url: '/task_1/sendPrize.do',
    response: () => {
      return {
        "success": true,
        "code": "sit velit ut cillum laboris",
        "message": "ex ea proident",
        "data": {
          "optionName": "",
          "optionImg": "",
          "sendCount": 223
        }
      }
    },
  },
  {
    url: '/answer_1/query.do',
    response: () => {
      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: () => {
      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: () => {
      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: () => {
      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: () => {
      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: '/userSpLogList.query',
    response: () => {
      return {
        success: true,
        code: "",
        message: "",
        data: {
          haveMore: true,
          list: new Array(20).fill(1).map((_, i) => {
            return {
              extra: "模拟理财金获取记录--" + i,
              createTimestamp: Date.now() + Math.random() * 1000000000,
              changedType: "+",
              quantity: 23333,
            }
          }),
        }
      }
    },
  },
  {
    url: '/inviteAssist_1/coop_assist.do',
    response: () => {
      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,
            }
          }),
        }
      }
    },
  }
]
