import { AESEncrypt } from "./Crypto";

export default [
  {
    url: '/projectRule.query',
    method: 'get',
    response: ({ query }) => {
      return {
        "data": "<p>以下是游戏规则：手速要快，点击红包雨。。333。。。。。。。。。。。。。。。。。。。。11111111111111sadasdadadsad5555555557777777777799999999999911111111111111111111111222222222222222222222222222222222222222222222222222222222222222333333333333333333333333333333333333333333333333333333333333311111111111111111111111111111111111111111111111111111111111111122222222222222222222222222222222222222222222222222222222222222233333333333333333333333333333333333333333333333333333333333331111111111111111111111111111111111111111111111111111111111111112222222222222222222222222222222222222222222222222222222222222223333333333333333333333333333333333333333333333333333333333333</p>",
        "success": true
      }
    },
  },
  {
    url: '/coop_frontVariable.query',
    method: 'get',
    response: ({ query }) => {
      return {
        "success": true,
        "message": "报错了~",
        "code": null,
        "data": {
          "privacyTxt": "privacyTxtprivacyTxtprivacyTxtprivacyTxtprivacyTxtprivacyTxtprivacyTxtprivacyTxt",
          "prizeInfoAuthTxt": "prizeInfoAuthTxtprizeInfoAuthTxtprizeInfoAuthTxtprizeInfoAuthTxtprizeInfoAuthTxtprizeInfoAuthTxtprizeInfoAuthTxtprizeInfoAuthTxt",
          "test_config_02": "111",
          // 规则长图
          "ruleImg": '//yun.duiba.com.cn/polaris/bg.18539c61e0103e01a339dd268558b2559ab178ba.png',
          shareInfo: {
            "title": '守护权益对对碰',
            "desc": '2025年“3·15”金融消费者权益保护教育宣传活动',
            "imgUrl": 'https://yun.duiba.com.cn/polaris/shareImg.721503d9417b09af6346ae018493aec558ca31af.png'
          },
          shopUrl: 'https://'
        }
      }
    },
  },
  {
    url: '/join.do',
    response: ({ query }) => {
      return {
        "code": "code",
        "success": true,
        "message": "message",
        "timeStamp": Date.now(),
        "data": AESEncrypt(JSON.stringify({
          "startId": "officia",
          "countDown": 30
        }), "1696BD3E5BB915A0", "cDOiBC1n2QrkAY2P"),
      }
    },
  },
  {
    url: '/common/records.do',
    response: ({ query }) => {
      return {
        "code": "code",
        "success": true,
        "message": "message",
        "timeStamp": Date.now(),
        "data": [
          {
            "extra": {
              "name": "优惠券-大转盘02优惠券-大转盘02优惠券-大转盘02",
              "icon": "//yun.dui88.com/images/201907/tua0um9jjp.jpg",
              "refType": "coupon",
              "refId": "49354",
              "type": 2
            },
            "strategyId": 11,
            "gmtCreate": 1565213353000,
            "id": 331,
            "prizeId": "g4c4c3edd",
            "type": 4,
            "moneyStatus": 1,
            "moneyCanReissueStartTimestamp": 1565213353000,
            "moneyCanReissueEndTimestamp": 1565213353000,
          },
          {
            "extra": {
              "name": "优惠券-大转盘03",
              "icon": "//yun.duiba.com.cn/polaris/%E6%95%B0%E6%8D%AE%E5%86%B3%E7%AD%96%E5%B7%A5%E5%85%B7.531c2dae250ab379fd6216eb038e60bc12ab9dd6.png",
              "refType": "coupon",
              "refId": "49354",
              "type": 2
            },
            "strategyId": 11,
            "gmtCreate": 1565213116000,
            "id": 330,
            "prizeId": "g0e432eeb",
            "type": 4,
            "moneyStatus": 10,
            "moneyCanReissueStartTimestamp": 1565213353000,
            "moneyCanReissueEndTimestamp": 1565213353000,
          },
          {
            "extra": {
              "name": "优惠券-大转盘05",
              "icon": "//yun.dui88.com/images/201907/tua0um9jjp.jpg",
              "refType": "coupon",
              "refId": "49354",
              "type": 2
            },
            "strategyId": 11,
            "gmtCreate": 1565212826000,
            "id": 329,
            "prizeId": "g900c8442",
            "type": 4,
            "moneyStatus": 11,
            "moneyCanReissueStartTimestamp": 1565213353000,
            "moneyCanReissueEndTimestamp": 1565213353000,
          },
          {
            "extra": {
              "name": "优惠券-大转盘01",
              "icon": "//yun.dui88.com/images/201907/tua0um9jjp.jpg",
              "refType": "coupon",
              "refId": "49354",
              "type": 2
            },
            "gmtCreate": 1565205625000,
            "id": 328,
            "strategyId": 11,
            "prizeId": "g4c7ba888",
            "type": 1,
            "moneyStatus": 1,
            "moneyCanReissueStartTimestamp": 1565213353000,
            "moneyCanReissueEndTimestamp": 1565213353000,
          },
          {
            "extra": {
              "name": "优惠券-大转盘05",
              "icon": "//yun.dui88.com/images/201907/tua0um9jjp.jpg",
              "refType": "coupon",
              "refId": "49354",
              "type": 2
            },
            "strategyId": 11,
            "gmtCreate": 1565203101000,
            "id": 327,
            "prizeId": "g900c8442",
            "type": 1,
            "moneyStatus": 1,
            "moneyCanReissueStartTimestamp": 1565213353000,
            "moneyCanReissueEndTimestamp": 1565213353000,
          },
          {
            "extra": {
              "name": "优惠券-大转盘03",
              "icon": "//yun.dui88.com/images/201907/tua0um9jjp.jpg",
              "refType": "coupon",
              "refId": "49354",
              "type": 2
            },
            "strategyId": 11,
            "gmtCreate": 1565203040000,
            "id": 326,
            "prizeId": "g0e432eeb",
            "type": 1,
            "moneyStatus": 1,
            "moneyCanReissueStartTimestamp": 1565213353000,
            "moneyCanReissueEndTimestamp": 1565213353000,
          },
          {
            "extra": {
              "name": "优惠券-大转盘04",
              "icon": "//yun.dui88.com/images/201907/tua0um9jjp.jpg",
              "refType": "coupon",
              "refId": "49354",
              "type": 2
            },
            "gmtCreate": 1565197386000,
            "id": 325,
            "prizeId": "gc1a8c03c"
          },
          {
            "extra": {
              "name": "last",
              "icon": "//yun.dui88.com/images/201907/tua0um9jjp.jpg",
              "refType": "coupon",
              "refId": "49354",
              "type": 2
            },
            "gmtCreate": 1565197080000,
            "id": 324,
            "strategyId": 11,
            "prizeId": "g0e432eeb",
            "type": 1,
            "moneyStatus": 1,
            "moneyCanReissueStartTimestamp": 1565213353000,
            "moneyCanReissueEndTimestamp": 1565213353000,
          },
        ],
      }
    },
  },

  {
    url: '/common/moneyReissue.do',
    response: ({ query }) => {
      return {
        "code": "code",
        "success": true,
        "message": "message",
        "timeStamp": Date.now(),
        "data": [
          {
            "extra": {
              "name": "现金奖励——发放成功",
              "icon": "//yun.dui88.com/images/201907/tua0um9jjp.jpg",
              "refType": "coupon",
              "refId": "49354",
              "type": 2
            },
            "strategyId": 11,
            "gmtCreate": 1565213353000,
            "id": 331,
            "prizeId": "g4c4c3edd",
            "type": 4,
            "moneyStatus": 1,
            "moneyCanReissueStartTimestamp": 1565213353000,
            "moneyCanReissueEndTimestamp": 1565213353000,
          },
          {
            "extra": {
              "name": "现金奖励——可以补发",
              "icon": "//yun.duiba.com.cn/polaris/%E6%95%B0%E6%8D%AE%E5%86%B3%E7%AD%96%E5%B7%A5%E5%85%B7.531c2dae250ab379fd6216eb038e60bc12ab9dd6.png",
              "refType": "coupon",
              "refId": "49354",
              "type": 2
            },
            "strategyId": 11,
            "gmtCreate": 1565213116000,
            "id": 330,
            "prizeId": "g0e432eeb",
            "type": 4,
            "moneyStatus": 11,
            "moneyCanReissueStartTimestamp": 1565213353000,
            "moneyCanReissueEndTimestamp": 1565213353000,
          },
          {
            "extra": {
              "name": "现金奖励——发放中",
              "icon": "//yun.dui88.com/images/201907/tua0um9jjp.jpg",
              "refType": "coupon",
              "refId": "49354",
              "type": 2
            },
            "strategyId": 11,
            "gmtCreate": 1565212826000,
            "id": 329,
            "prizeId": "g900c8442",
            "type": 4,
            "moneyStatus": 11,
            "moneyCanReissueStartTimestamp": 1565213353000,
            "moneyCanReissueEndTimestamp": 1565213353000,
          },
          {
            "extra": {
              "name": "优惠券-大转盘01",
              "icon": "//yun.dui88.com/images/201907/tua0um9jjp.jpg",
              "refType": "coupon",
              "refId": "49354",
              "type": 2
            },
            "gmtCreate": 1565205625000,
            "id": 328,
            "strategyId": 11,
            "prizeId": "g4c7ba888",
            "type": 1,
            "moneyStatus": 1,
            "moneyCanReissueStartTimestamp": 1565213353000,
            "moneyCanReissueEndTimestamp": 1565213353000,
          },
          {
            "extra": {
              "name": "优惠券-大转盘05",
              "icon": "//yun.dui88.com/images/201907/tua0um9jjp.jpg",
              "refType": "coupon",
              "refId": "49354",
              "type": 2
            },
            "strategyId": 11,
            "gmtCreate": 1565203101000,
            "id": 327,
            "prizeId": "g900c8442",
            "type": 1,
            "moneyStatus": 1,
            "moneyCanReissueStartTimestamp": 1565213353000,
            "moneyCanReissueEndTimestamp": 1565213353000,
          },
          {
            "extra": {
              "name": "优惠券-大转盘03",
              "icon": "//yun.dui88.com/images/201907/tua0um9jjp.jpg",
              "refType": "coupon",
              "refId": "49354",
              "type": 2
            },
            "strategyId": 11,
            "gmtCreate": 1565203040000,
            "id": 326,
            "prizeId": "g0e432eeb",
            "type": 1,
            "moneyStatus": 1,
            "moneyCanReissueStartTimestamp": 1565213353000,
            "moneyCanReissueEndTimestamp": 1565213353000,
          },
          {
            "extra": {
              "name": "优惠券-大转盘04",
              "icon": "//yun.dui88.com/images/201907/tua0um9jjp.jpg",
              "refType": "coupon",
              "refId": "49354",
              "type": 2
            },
            "gmtCreate": 1565197386000,
            "id": 325,
            "prizeId": "gc1a8c03c"
          },
          {
            "extra": {
              "name": "last",
              "icon": "//yun.dui88.com/images/201907/tua0um9jjp.jpg",
              "refType": "coupon",
              "refId": "49354",
              "type": 2
            },
            "gmtCreate": 1565197080000,
            "id": 324,
            "strategyId": 11,
            "prizeId": "g0e432eeb",
            "type": 1,
            "moneyStatus": 1,
            "moneyCanReissueStartTimestamp": 1565213353000,
            "moneyCanReissueEndTimestamp": 1565213353000,
          },
        ],
      }
    },
  },

  {
    url: "/customActivity/kouweiwang/prize/queryOrderNo",
    method: 'get',
    response: ({ query }) => {
      return {
        "success": true,
        "message": "报错了~",
        "code": null,
        "data": {
          "recordId": 1,
          "projectId": 1,
          "orderNo": 1234567890,
          "activityId": 1,
          "uid": 1,
        },
      }
    }
  },
]
