import { AESEncrypt } from "./Crypto";

export default [
  {
    url: '/game/start.do',
    response: ({ query }) => {
      return {
        code: "123",
        success: true,
        message: "message",
        data: AESEncrypt(JSON.stringify({
          recordId: "recordId",
          countdownSeconds: 26,
          targetConfig: {
            target1: 10, // 背包数量	
            target2: 23, // 飞机数量
          },
        }), "4fe20bdefdd4804f", "cDOiBC1n2QrkAY2P"),
        // data: "TtL6pvFMpXEajymGe7uOoiD0iaAnxxtuOFqvG+Vo0R4qzJQlb+eQneEkPKv+nNsXKJHVe/hfKTQAMj6FuC2Ltg=="
      }
    },
  },
  {
    url: '/game/submit.do',
    response: ({ query }) => {
      return {
        "success": true,
        "code": "",
        "message": "",
        "data": {
            "gotSpInfo": {
                "spId": "sp_landmark1",
                "name": "北京",
                "icon": "https://www.baidu.com/tiananmen.png"
            },
            "rewardDrawTimes": 1,
            "leftGameTimes": 2
        }
      }
    }
  },
]
