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": {
          "test_config_02": "111",
          shareInfo: JSON.stringify({
            "title": "许愿迎新春",
            "content": "参与活动生成你的专属烟花吧～",
            "thumbnail": "https://yun.duiba.com.cn/polaris/%E6%9C%AA%E6%A0%87%E9%A2%98-1.501ac89a8b4c601209edf8b9c3b67fd5228f1ed8.jpg",
            "imgUrl": "https://yun.duiba.com.cn/polaris/%E6%9C%AA%E6%A0%87%E9%A2%98-1.501ac89a8b4c601209edf8b9c3b67fd5228f1ed8.jpg",
          }),
          "SaleManUrl": "http://activity.m.duibatest.com.cn/projectx/pd2a9a8c1/index.html?appID=19487",
          "Url": "https://lifeapp-test.picclife.cn/portal-web/app_manager/downloadapps.html?operate_link=https%3A%2F%2Flifeapp-api-test.picclife.cn%2Flifeapi%2Flifeapp-svc-rel-gw%2Fapi%2Fauth_code%2Fauthorize%2Fv1%3Factivity_code%3D6130%26redirect_type%3D0%26redirect_uri%3Dhttps%253A%252F%252F96094.activity-19.m.duiba.com.cn%252FcustomShare%252Fshare%253Fid%253DDid1NTk5NTk&isBindManager=1&isNeedAuth=1",
        }
      }
    },
  },
  {
    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": 4,
            "moneyStatus": 2,
            "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": {}
      }
    },
  },

]
