import { AESDecrypt, AESEncrypt } from "./Crypto";

export default [
  {
    url: '/tcs/index.do',
    response: ({ query }) => {
      return {
        "success": true,
        "code": "",
        "message": "",
        "timeStamp": Date.now(),
        "data": {
          "startTime": Date.now() - 1000000,
          "endTime": Date.now() + 1000000,
          "remainTimes": 12,
          "uid": "uiduiduiduiduiduiduid",
        }
      }
    },
  },
  {
    url: '/tcs/start.do',
    response: ({ query }) => {
      return {
        "success": true,
        "code": "",
        "message": "",
        "data": AESEncrypt(JSON.stringify({
          recordId: "recordId",
          countdownSeconds: 120,
          guide: true,
        }), "3C8C48E792E9241B", "cDOiBC1n2QrkAY2P"),
      }
    },
  },
  {
    url: '/tcs/submit.do',
    response: ({ query }) => {
      return {
        success: true,
        code: "",
        message: "",
        data: {
          score: 888,
          rank: 1,
          prizeName: "一等奖",
          reachTargetScore: 666,
          drawChance: 10,
        }
      }
    },
  },
  {
    url: '/tcs/guide.do',
    response: ({ query }) => {
      return {
        success: true,
        code: "",
        message: "",
        data: null,
      }
    },
  },
  {
    url: "/gaw/address/getChildrenByParentCode",
    response: ({ query }) => {
      return {
        "success": true,
        "code": "0000000000",
        "desc": "OK",
        "timestamp": 1736580360076,
        "data": [{
          "name": "东华门街道",
          "adCode": "110101001",
          "level": 4
        },
        {
          "name": "景山街道",
          "adCode": "110101002",
          "level": 4
        },
        {
          "name": "交道口街道",
          "adCode": "110101003",
          "level": 4
        },
        {
          "name": "安定门街道",
          "adCode": "110101004",
          "level": 4
        },
        {
          "name": "北新桥街道",
          "adCode": "110101005",
          "level": 4
        },
        {
          "name": "东四街道",
          "adCode": "110101006",
          "level": 4
        },
        {
          "name": "朝阳门街道",
          "adCode": "110101007",
          "level": 4
        },
        {
          "name": "建国门街道",
          "adCode": "110101008",
          "level": 4
        },
        {
          "name": "东直门街道",
          "adCode": "110101009",
          "level": 4
        },
        {
          "name": "和平里街道",
          "adCode": "110101010",
          "level": 4
        },
        {
          "name": "前门街道",
          "adCode": "110101011",
          "level": 4
        },
        {
          "name": "崇文门外街道",
          "adCode": "110101012",
          "level": 4
        },
        {
          "name": "东花市街道",
          "adCode": "110101013",
          "level": 4
        },
        {
          "name": "龙潭街道",
          "adCode": "110101014",
          "level": 4
        },
        {
          "name": "体育馆路街道",
          "adCode": "110101015",
          "level": 4
        },
        {
          "name": "天坛街道",
          "adCode": "110101016",
          "level": 4
        },
        {
          "name": "永定门外街道",
          "adCode": "110101017",
          "level": 4
        }
        ]
      }
    },

  },
  {
    url: '/draw/myPrizeRecord.do',
    response: ({ query }) => {
      return {
        "success": true,
        "code": "",
        "message": "",
        "data": [
          {
            extra: {
              name: "一等奖",
              icon: 'https://yun.duiba.com.cn/polaris/shareImg.721503d9417b09af6346ae018493aec558ca31af.png',
            },
            needFillAddress: true,
            prizeId: '',
            boolThirdObject: true
          },
          {
            extra: {
              name: "一等奖",
              icon: 'https://yun.duiba.com.cn/polaris/shareImg.721503d9417b09af6346ae018493aec558ca31af.png',
            },
            needFillAddress: true,
            prizeId: '',
            boolThirdObject: false
          },
          {
            extra: {
              name: "一等奖",
              icon: 'https://yun.duiba.com.cn/polaris/shareImg.721503d9417b09af6346ae018493aec558ca31af.png',
            },
            needFillAddress: false,
            prizeId: '',
            boolThirdObject: true
          },
          {
            extra: {
              name: "一等奖",
              icon: 'https://yun.duiba.com.cn/polaris/shareImg.721503d9417b09af6346ae018493aec558ca31af.png',
            },
            needFillAddress: true,
            prizeId: ''
          },
          {
            extra: {
              name: "一等奖",
              icon: 'https://yun.duiba.com.cn/polaris/shareImg.721503d9417b09af6346ae018493aec558ca31af.png',
            },
            needFillAddress: true,
            prizeId: ''
          },
          {
            extra: {
              name: "一等奖",
              icon: 'https://yun.duiba.com.cn/polaris/shareImg.721503d9417b09af6346ae018493aec558ca31af.png',
            },
            needFillAddress: true,
            prizeId: ''
          },
          {
            extra: {
              name: "一等奖",
              icon: 'https://yun.duiba.com.cn/polaris/shareImg.721503d9417b09af6346ae018493aec558ca31af.png',
            },
            needFillAddress: true,
            prizeId: ''
          },
          {
            extra: {
              name: "一等奖",
              icon: 'https://yun.duiba.com.cn/polaris/shareImg.721503d9417b09af6346ae018493aec558ca31af.png',
            },
            needFillAddress: true,
            prizeId: ''
          },
          {
            extra: {
              name: "一等奖",
              icon: 'https://yun.duiba.com.cn/polaris/shareImg.721503d9417b09af6346ae018493aec558ca31af.png',
            },
            needFillAddress: true,
            prizeId: ''
          },
          {
            extra: {
              name: "一等奖",
              icon: 'https://yun.duiba.com.cn/polaris/shareImg.721503d9417b09af6346ae018493aec558ca31af.png',
            },
            needFillAddress: true,
            prizeId: ''
          },
          {
            extra: {
              name: "一等奖",
              icon: 'https://yun.duiba.com.cn/polaris/shareImg.721503d9417b09af6346ae018493aec558ca31af.png',
            },
            needFillAddress: true,
            prizeId: ''
          },
          {
            extra: {
              name: "一等奖",
              icon: 'https://yun.duiba.com.cn/polaris/shareImg.721503d9417b09af6346ae018493aec558ca31af.png',
            },
            needFillAddress: true,
            prizeId: ''
          },
          {
            extra: {
              name: "一等奖",
              icon: 'https://yun.duiba.com.cn/polaris/shareImg.721503d9417b09af6346ae018493aec558ca31af.png',
            },
            needFillAddress: true,
            prizeId: ''
          },
          {
            extra: {
              name: "一等奖",
              icon: 'https://yun.duiba.com.cn/polaris/shareImg.721503d9417b09af6346ae018493aec558ca31af.png',
            },
            needFillAddress: true,
            prizeId: ''
          },
          {
            extra: {
              name: "四等奖",
              icon: 'https://yun.duiba.com.cn/polaris/shareImg.721503d9417b09af6346ae018493aec558ca31af.png',
            },
            needFillAddress: true,
            prizeId: ''
          }
        ]
      }
    }
  },
  {
    url: '/inviteAssist_1/getInviteCode.do',
    response: ({ query }) => {
      return {
        "code": null,
        "data": {
          "dueTime": null,
          "extra": null,
          "inviteCode": "ZHHUJS",
          "timestamp": 1746965897230
        },
        "message": null,
        "success": true,
        "timeStamp": 1746965897241
      }
    }
  }
]
