export default [
  {
    url: "/draw/index.do",
    method: "get",
    response: ({ query }) => {
      return {
        success: true,
        message: "报错了~",
        code: 200,
        timeStamp: Date.now(),
        data: {
          startTime: Date.now() - 100,
          endTime: Date.now() + 1000,
          remainDrawTimes: 2, // 免费剩余次数，null = 不限制
          // 配置的奖品
          prizeList: [
            {
              prizeName: `奖品名称奖品名称奖品名称奖品名称1`,
              prizeImg: `//yun.duiba.com.cn/polaris/jinmoqiang.9e5bbc004f69ab6a3f34d93daeda028616a9f00d.png`,
              prizeId: `thanks1`,
            },
            {
              prizeName: `奖品名称2`,
              prizeImg: `//yun.duiba.com.cn/polaris/kouzhao.dc55dac6db1ff94c4666c2602d6cb0ac84139982.png`,
              prizeId: `thanks2`,
            },
            {
              prizeName: `奖品名称3`,
              prizeImg: `//yun.duiba.com.cn/polaris/mac.fe55aa43e5a231d568973dcdd0b91e0263d5a12c.png`,
              prizeId: `thanks3`,
            },
            {
              prizeName: `奖品名称4`,
              prizeImg: `//yun.duiba.com.cn/polaris/mgtv.e5f0709a2a4083bc57ce52ff200a50a2e56b2658.png`,
              prizeId: `thanks4`,
            },
            {
              prizeName: `奖品名称5`,
              prizeImg: `//yun.duiba.com.cn/polaris/qq.73ad13cd0c6fd705327d12957c12e9d5b2e77baa.png`,
              prizeId: `thanks5`,
            },
            {
              prizeName: `谢谢参与`,
              prizeImg: `https://yun.duiba.com.cn/spark/assets/f77861647e7b55e9c95e9c49d891a21526157a76.jpg`,
              prizeId: `thanks`,
            },
            {
              prizeName: `奖品名称6`,
              prizeImg: `//yun.duiba.com.cn/polaris/mgtv.e5f0709a2a4083bc57ce52ff200a50a2e56b2658.png`,
              prizeId: `thanks4`,
            },
            {
              prizeName: `奖品名称7`,
              prizeImg: `//yun.duiba.com.cn/polaris/qq.73ad13cd0c6fd705327d12957c12e9d5b2e77baa.png`,
              prizeId: `thanks5`,
            },
          ],
          otherLeftCount: 2, // 其他剩余次数，null = 不限制
          leftCount: 111, // 总剩余次数，null = 不限制
          ruleId: "dolor", // 奖品规则ID
          startTimestamp: +new Date(), // 组件开始时间
          timestamp: +new Date(), // 当前时间戳
        },
      };
    },
  },
  {
    url: "/draw/doDraw.do",
    method: "get",
    response: ({ query }) => {
      return {
        success: true,
        data: {
          prizeName: `谢谢参与`,
          prizeImg: `https://yun.duiba.com.cn/spark/assets/f77861647e7b55e9c95e9c49d891a21526157a76.jpg`,
          prizeId: `thanks`,
        },
      };
    },
  },
];
