摘要: "模式模拟GraphQL数据" const { ApolloServer, gql } = require('apollo server'); const typeDefs = gql` type Query { hello: Float resolved: String } `; const re 阅读全文
posted @ 2018-11-14 23:47 Ajanuw 阅读(215) 评论(0) 推荐(0) 编辑
摘要: https://stackoverflow.com/questions/29285056/get-video-duration-when-input-a-video-file <body> <input type="file" name="asd" id="a" accept="image/png, 阅读全文
posted @ 2018-11-14 19:46 Ajanuw 阅读(608) 评论(0) 推荐(0) 编辑
摘要: "阿波罗服务器入门" const { gql, ApolloServer } = require("apollo server"); const _ = require("lodash"); const cats = [{ id: 1, name: "a" }, { id: 2, name: "b" 阅读全文
posted @ 2018-11-14 00:18 Ajanuw 阅读(249) 评论(0) 推荐(0) 编辑