• 大小: 0.36M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-03-23
  • 语言: JavaScript
  • 标签:

资源简介

canvas实现,java后端

资源截图

代码片段和文件信息

package me.jxy.flappy.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.primitives.Ints;
import lombok.Data;

import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Random;

/**
 * flappy-bird排行榜api,仅用于测试
 *
 * @version 1.0
 * @author jiangxy
 */
@Controller
@RequestMapping(“/flappy“)
public class WXController implements InitializingBean {

    private static Logger logger = LoggerFactory.getLogger(WXController.class);

    /**TOP50排行榜*/
    public static final int LIST_SIZE = 20;

    /**
     * 一个容器,暂存每个用户的成绩
     */
    @Data
    static

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件      170727  2016-12-28 17:34  1.jpg
     目录           0  2018-11-12 14:56  wxapplet-canvas-demo-master\
     文件         132  2016-12-13 15:09  wxapplet-canvas-demo-master\.gitignore
     文件       11358  2016-12-13 15:09  wxapplet-canvas-demo-master\LICENSE
     文件        1525  2016-12-13 15:09  wxapplet-canvas-demo-master\README.md
     文件         540  2016-12-13 15:09  wxapplet-canvas-demo-master\app.js
     文件         834  2016-12-13 15:09  wxapplet-canvas-demo-master\app.json
     文件         194  2016-12-13 15:09  wxapplet-canvas-demo-master\app.wxss
     文件         513  2016-12-13 15:09  wxapplet-canvas-demo-master\config.js
     目录           0  2018-11-12 14:56  wxapplet-canvas-demo-master\images\
     文件         355  2016-12-13 15:09  wxapplet-canvas-demo-master\images\1.1.png
     文件         451  2016-12-13 15:09  wxapplet-canvas-demo-master\images\1.2.png
     文件         192  2016-12-13 15:09  wxapplet-canvas-demo-master\images\2.1.png
     文件         207  2016-12-13 15:09  wxapplet-canvas-demo-master\images\2.2.png
     文件         829  2016-12-13 15:09  wxapplet-canvas-demo-master\images\bird.png
     文件        5106  2016-12-13 15:09  wxapplet-canvas-demo-master\images\jxy.jpg
     文件         453  2016-12-13 15:09  wxapplet-canvas-demo-master\images\rank1.png
     文件         432  2016-12-13 15:09  wxapplet-canvas-demo-master\images\rank2.png
     文件         432  2016-12-13 15:09  wxapplet-canvas-demo-master\images\rank3.png
     目录           0  2018-11-12 14:56  wxapplet-canvas-demo-master\java\
     文件         441  2016-12-13 15:09  wxapplet-canvas-demo-master\java\README.md
     文件        7865  2016-12-13 15:09  wxapplet-canvas-demo-master\java\pom.xml
     目录           0  2018-11-12 14:56  wxapplet-canvas-demo-master\java\src\
     目录           0  2018-11-12 14:56  wxapplet-canvas-demo-master\java\src\main\
     目录           0  2018-11-12 14:56  wxapplet-canvas-demo-master\java\src\main\java\
     目录           0  2018-11-12 14:56  wxapplet-canvas-demo-master\java\src\main\java\me\
     目录           0  2018-11-12 14:56  wxapplet-canvas-demo-master\java\src\main\java\me\jxy\
     目录           0  2018-11-12 14:56  wxapplet-canvas-demo-master\java\src\main\java\me\jxy\flappy\
     目录           0  2018-11-12 14:56  wxapplet-canvas-demo-master\java\src\main\java\me\jxy\flappy\controller\
     文件        3248  2016-12-13 15:09  wxapplet-canvas-demo-master\java\src\main\java\me\jxy\flappy\controller\WXController.java
     目录           0  2018-11-12 14:56  wxapplet-canvas-demo-master\java\src\main\resources\
............此处省略22个文件信息

评论

共有 条评论