Coder Social home page Coder Social logo

cloudfns's Introduction

cloudFns

微信小程序云函数集合,有效提高开发时间和效率!

重要:版本要求 新建项目选择一个空目录,填入 AppID(使用云开发能力必须填写 AppID),勾选创建 “云开发 QuickStart 项目”,点击创建即可得到一个展示云开发基础能力的示例小程序。该小程序与普通 QuickStart 小程序有以下不同需注意:

  1. 无游客模式、也不可以使用 测试号
  2. project.config.json 中增加了字段 cloudfunctionRoot 用于指定存放云函数的目录
  3. cloudfunctionRoot 指定的目录有特殊的图标
  4. 云开发能力从基础库 2.2.3 开始支持
  5. 在 app.json / game.json 中增加字段 "cloud": true

本云函数基于 wx-tool 中的 cloudFn运行使用

成功返回格式

    {
        code: 0,
        data: result,
        info: '操作成功!'
    }

失败返回格式

    {
        code: 7154,
        data: [],
        info: '失败原因!'
    }

API

cloudfns's People

Contributors

lxljl avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.