Compare commits
18 Commits
1f09679bc2
...
9789cecedc
Author | SHA1 | Date |
---|---|---|
|
9789cecedc | 1 year ago |
|
01885408a7 | 1 year ago |
|
4519fa4e9c | 1 year ago |
|
0fc5b102ef | 1 year ago |
|
2ca5a78def | 1 year ago |
|
3349b398a9 | 1 year ago |
|
83808ff572 | 1 year ago |
|
3ff9ac998a | 1 year ago |
|
6aaa95e611 | 1 year ago |
|
1988418b9f | 1 year ago |
|
3b7cbf79c5 | 1 year ago |
|
5a8afb942b | 1 year ago |
|
4465b65288 | 1 year ago |
|
ca15ec421c | 1 year ago |
|
530c5169c3 | 1 year ago |
|
c1cecb73dd | 1 year ago |
|
d2a320a82f | 1 year ago |
|
a7a8c0d094 | 1 year ago |
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Eslint config file
|
||||
* Documentation: https://eslint.org/docs/user-guide/configuring/
|
||||
* Install the Eslint extension before using this feature.
|
||||
*/
|
||||
module.exports = {
|
||||
env: {
|
||||
es6: true,
|
||||
browser: true,
|
||||
node: true,
|
||||
},
|
||||
ecmaFeatures: {
|
||||
modules: true,
|
||||
},
|
||||
parserOptions: {
|
||||
ecmaVersion: 2018,
|
||||
sourceType: 'module',
|
||||
},
|
||||
globals: {
|
||||
wx: true,
|
||||
App: true,
|
||||
Page: true,
|
||||
getCurrentPages: true,
|
||||
getApp: true,
|
||||
Component: true,
|
||||
requirePlugin: true,
|
||||
requireMiniProgram: true,
|
||||
},
|
||||
// extends: 'eslint:recommended',
|
||||
rules: {},
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
# Windows
|
||||
[Dd]esktop.ini
|
||||
Thumbs.db
|
||||
$RECYCLE.BIN/
|
||||
|
||||
# macOS
|
||||
.DS_Store
|
||||
.fseventsd
|
||||
.Spotlight-V100
|
||||
.TemporaryItems
|
||||
.Trashes
|
||||
|
||||
# Node.js
|
||||
node_modules/
|
@ -0,0 +1,12 @@
|
||||
# 云开发 quickstart
|
||||
|
||||
这是云开发的快速启动指引,其中演示了如何上手使用云开发的三大基础能力:
|
||||
|
||||
- 数据库:一个既可在小程序前端操作,也能在云函数中读写的 JSON 文档型数据库
|
||||
- 文件存储:在小程序前端直接上传/下载云端文件,在云开发控制台可视化管理
|
||||
- 云函数:在云端运行的代码,微信私有协议天然鉴权,开发者只需编写业务逻辑代码
|
||||
|
||||
## 参考文档
|
||||
|
||||
- [云开发文档](https://developers.weixin.qq.com/miniprogram/dev/wxcloud/basis/getting-started.html)
|
||||
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"permissions": {
|
||||
"openapi": [
|
||||
"wxacode.get"
|
||||
]
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
const cloud = require('wx-server-sdk');
|
||||
|
||||
cloud.init({
|
||||
env: cloud.DYNAMIC_CURRENT_ENV
|
||||
});
|
||||
|
||||
// 获取小程序二维码云函数入口函数
|
||||
exports.main = async (event, context) => {
|
||||
// 获取小程序二维码的buffer
|
||||
const resp = await cloud.openapi.wxacode.get({
|
||||
path: 'pages/index/index'
|
||||
});
|
||||
const { buffer } = resp;
|
||||
// 将图片上传云存储空间
|
||||
const upload = await cloud.uploadFile({
|
||||
cloudPath: 'code.png',
|
||||
fileContent: buffer
|
||||
});
|
||||
return upload.fileID;
|
||||
};
|
@ -0,0 +1,17 @@
|
||||
const cloud = require('wx-server-sdk');
|
||||
|
||||
cloud.init({
|
||||
env: cloud.DYNAMIC_CURRENT_ENV
|
||||
});
|
||||
|
||||
// 获取openId云函数入口函数
|
||||
exports.main = async (event, context) => {
|
||||
// 获取基础信息
|
||||
const wxContext = cloud.getWXContext();
|
||||
|
||||
return {
|
||||
openid: wxContext.OPENID,
|
||||
appid: wxContext.APPID,
|
||||
unionid: wxContext.UNIONID,
|
||||
};
|
||||
};
|
@ -0,0 +1,25 @@
|
||||
const getOpenId = require('./getOpenId/index');
|
||||
const getMiniProgramCode = require('./getMiniProgramCode/index');
|
||||
const createCollection = require('./createCollection/index');
|
||||
const selectRecord = require('./selectRecord/index');
|
||||
const updateRecord = require('./updateRecord/index');
|
||||
const sumRecord = require('./sumRecord/index');
|
||||
|
||||
|
||||
// 云函数入口函数
|
||||
exports.main = async (event, context) => {
|
||||
switch (event.type) {
|
||||
case 'getOpenId':
|
||||
return await getOpenId.main(event, context);
|
||||
case 'getMiniProgramCode':
|
||||
return await getMiniProgramCode.main(event, context);
|
||||
case 'createCollection':
|
||||
return await createCollection.main(event, context);
|
||||
case 'selectRecord':
|
||||
return await selectRecord.main(event, context);
|
||||
case 'updateRecord':
|
||||
return await updateRecord.main(event, context);
|
||||
case 'sumRecord':
|
||||
return await sumRecord.main(event, context);
|
||||
}
|
||||
};
|
@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "quickstartFunctions",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"wx-server-sdk": "~2.4.0"
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
const cloud = require('wx-server-sdk');
|
||||
|
||||
cloud.init({
|
||||
env: cloud.DYNAMIC_CURRENT_ENV
|
||||
});
|
||||
const db = cloud.database();
|
||||
|
||||
// 查询数据库集合云函数入口函数
|
||||
exports.main = async (event, context) => {
|
||||
// 返回数据库查询结果
|
||||
return await db.collection('sales').get();
|
||||
};
|
@ -0,0 +1,18 @@
|
||||
const cloud = require('wx-server-sdk');
|
||||
|
||||
cloud.init({
|
||||
env: cloud.DYNAMIC_CURRENT_ENV
|
||||
});
|
||||
const db = cloud.database();
|
||||
const $ = db.command.aggregate;
|
||||
|
||||
// 聚合记录云函数入口函数
|
||||
exports.main = async (event, context) => {
|
||||
// 返回数据库聚合结果
|
||||
return db.collection('sales').aggregate()
|
||||
.group({
|
||||
_id: '$region',
|
||||
sum: $.sum('$sales')
|
||||
})
|
||||
.end();
|
||||
};
|
@ -0,0 +1,32 @@
|
||||
const cloud = require('wx-server-sdk');
|
||||
|
||||
cloud.init({
|
||||
env: cloud.DYNAMIC_CURRENT_ENV
|
||||
});
|
||||
const db = cloud.database();
|
||||
|
||||
// 修改数据库信息云函数入口函数
|
||||
exports.main = async (event, context) => {
|
||||
try {
|
||||
// 遍历修改数据库信息
|
||||
for (let i = 0; i < event.data.length; i++) {
|
||||
await db.collection('sales').where({
|
||||
_id: event.data[i]._id
|
||||
})
|
||||
.update({
|
||||
data: {
|
||||
sales: event.data[i].sales
|
||||
},
|
||||
});
|
||||
}
|
||||
return {
|
||||
success: true,
|
||||
data: event.data
|
||||
};
|
||||
} catch (e) {
|
||||
return {
|
||||
success: false,
|
||||
errMsg: e
|
||||
};
|
||||
}
|
||||
};
|
@ -0,0 +1,37 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/index/index",
|
||||
"pages/msg/index",
|
||||
"pages/profile/index"
|
||||
],
|
||||
"window": {
|
||||
"backgroundColor": "#FFF",
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarBackgroundColor": "#FFF",
|
||||
"navigationBarTitleText": "家教帮",
|
||||
"navigationBarTextStyle": "black"
|
||||
},
|
||||
"tabBar": {
|
||||
"list": [{
|
||||
"pagePath": "pages/index/index",
|
||||
"text": "main",
|
||||
"iconPath": "images/main.png",
|
||||
"selectedIconPath": "images/main_on.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/msg/index",
|
||||
"text": "msg",
|
||||
"iconPath": "images/msg.png",
|
||||
"selectedIconPath": "images/msg_on.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/profile/index",
|
||||
"text": "profile",
|
||||
"iconPath": "images/profile.png",
|
||||
"selectedIconPath": "images/profile_on.png"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sitemapLocation": "sitemap.json",
|
||||
"style": "v2"
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
/**app.wxss**/
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
button {
|
||||
background: initial;
|
||||
}
|
||||
|
||||
button:focus{
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
button::after{
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
||||
page {
|
||||
background: #f6f6f6;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
// miniprogram/components/cloudTipModal/index.js
|
||||
const { isMac } = require('../../envList.js');
|
||||
|
||||
Component({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
showUploadTip: false,
|
||||
tipText: isMac ? 'sh ./uploadCloudFunction.sh' : './uploadCloudFunction.bat'
|
||||
},
|
||||
properties: {
|
||||
showUploadTipProps: Boolean
|
||||
},
|
||||
observers: {
|
||||
showUploadTipProps: function(showUploadTipProps) {
|
||||
this.setData({
|
||||
showUploadTip: showUploadTipProps
|
||||
});
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
onChangeShowUploadTip() {
|
||||
this.setData({
|
||||
showUploadTip: !this.data.showUploadTip
|
||||
});
|
||||
},
|
||||
|
||||
copyShell() {
|
||||
wx.setClipboardData({
|
||||
data: this.data.tipText,
|
||||
});
|
||||
},
|
||||
}
|
||||
|
||||
});
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
<!--miniprogram/components/cloudTipModal/index.wxml-->
|
||||
<view class="install_tip" wx:if="{{showUploadTip}}">
|
||||
<view class="install_tip_back"></view>
|
||||
<view class="install_tip_detail">
|
||||
<view class="install_tip_detail_title">体验前需部署云资源</view>
|
||||
<view class="install_tip_detail_tip">请开启调试器进入终端窗口,复制并运行以下命令</view>
|
||||
<view class="install_tip_detail_shell">
|
||||
{{tipText}}
|
||||
<view bindtap="copyShell" class="install_tip_detail_copy">复制</view>
|
||||
</view>
|
||||
<view bindtap="onChangeShowUploadTip" class="install_tip_detail_button">已执行命令</view>
|
||||
</view>
|
||||
</view>
|
@ -0,0 +1,57 @@
|
||||
.install_tip_back {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background-color: rgba(0,0,0,0.4);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.install_tip_detail {
|
||||
position: fixed;
|
||||
background-color: white;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
top: 60%;
|
||||
border-radius: 40rpx 40rpx 0 0;
|
||||
padding: 50rpx;
|
||||
z-index: 9;
|
||||
}
|
||||
|
||||
.install_tip_detail_title {
|
||||
font-weight: 400;
|
||||
font-size: 40rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.install_tip_detail_tip {
|
||||
font-size: 25rpx;
|
||||
color: rgba(0,0,0,0.4);
|
||||
margin-top: 20rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.install_tip_detail_shell {
|
||||
margin: 70rpx 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.install_tip_detail_copy {
|
||||
color: #546488;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
|
||||
.install_tip_detail_button {
|
||||
color: #07C160;
|
||||
font-weight: 500;
|
||||
background-color: rgba(0,0,0,0.1);
|
||||
width: 60%;
|
||||
text-align: center;
|
||||
height: 90rpx;
|
||||
line-height: 90rpx;
|
||||
border-radius: 10rpx;
|
||||
margin: 0 auto;
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
const envList = [{"envId":"cloud1-7gyjwcyfbdf819da","alias":"cloud1"}]
|
||||
const isMac = false
|
||||
module.exports = {
|
||||
envList,
|
||||
isMac
|
||||
}
|
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 906 B |
After Width: | Height: | Size: 155 KiB |
After Width: | Height: | Size: 328 KiB |
After Width: | Height: | Size: 181 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 5.6 KiB |
@ -0,0 +1,10 @@
|
||||
Page({
|
||||
data:{
|
||||
hello:'Hi~'
|
||||
},
|
||||
change:function(){
|
||||
this.setData({
|
||||
hello:this.data.hello+'~~',
|
||||
});
|
||||
},
|
||||
});
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"cloud-tip-modal": "/components/cloudTipModal/index"
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
<view >
|
||||
<view class="cover">
|
||||
<image src="/images/app.png"class="app"/>
|
||||
|
||||
</view>
|
||||
<view class="title" bind:tap="change">{{hello}}</view>
|
||||
<view class="desc">这里是家教帮平台,再也不用担心孩子的学习了</view>
|
||||
<view class="choose">
|
||||
<navigator class="join" url="/pages/form/index">创建小组</navigator>
|
||||
<navigator class="join" url="/pages/list/index">加入小组</navigator>
|
||||
<navigator class="join" url="/pages/tip/index">其他小组</navigator>
|
||||
<navigator class="join" url="/pages/group/index">我的小组</navigator>
|
||||
</view>>
|
||||
</view>
|
@ -0,0 +1,21 @@
|
||||
.cover{
|
||||
background-color: #f1f1f1;
|
||||
text-align: center;
|
||||
padding: 80rpx;
|
||||
}
|
||||
.app{
|
||||
width: 160rpx;
|
||||
height: 160rpx;
|
||||
}
|
||||
.title{
|
||||
font-weight: 500;
|
||||
color: #000;
|
||||
font-size: 44rpx;
|
||||
margin: 50rpx 32rpx;
|
||||
}
|
||||
.desc{
|
||||
font-weight: 500;
|
||||
color: #000;
|
||||
font-size: 44rpx;
|
||||
margin: 50rpx 32rpx;
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
Page({
|
||||
data:{
|
||||
date:"",
|
||||
region:"",
|
||||
},
|
||||
submit:function(e){
|
||||
console.log(e);
|
||||
},
|
||||
|
||||
dateChange:function(e){
|
||||
this.setData({
|
||||
date:e.detail.value,
|
||||
});
|
||||
},
|
||||
regionChange:function(e){
|
||||
this.setData({
|
||||
region:e.detail.value,
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
});
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"cloud-tip-modal": "/components/cloudTipModal/index"
|
||||
}
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
.body{
|
||||
margin: 40rpx;
|
||||
}
|
||||
.section{
|
||||
margin: 40rpx 0 80rpx;
|
||||
}
|
||||
.title{
|
||||
font-weight: 36rpx;
|
||||
}
|
||||
.input{
|
||||
margin:30rpx 0;
|
||||
border-bottom: 1px solid #666;
|
||||
padding: 20rpx 0;
|
||||
width:100%
|
||||
}
|
||||
.mg{
|
||||
margin: 30rpx 0;
|
||||
}
|
||||
.area{
|
||||
margin:100rpx auto;
|
||||
display:flex;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.desc{
|
||||
font-weight: 500;
|
||||
color: #000;
|
||||
font-size: 44rpx;
|
||||
margin: 50rpx 32rpx;
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
Page({
|
||||
data:{
|
||||
date:"",
|
||||
region:"",
|
||||
},
|
||||
submit:function(e){
|
||||
console.log(e);
|
||||
},
|
||||
|
||||
dateChange:function(e){
|
||||
this.setData({
|
||||
date:e.detail.value,
|
||||
});
|
||||
},
|
||||
regionChange:function(e){
|
||||
this.setData({
|
||||
region:e.detail.value,
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
});
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"cloud-tip-modal": "/components/cloudTipModal/index"
|
||||
}
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
<view class="body">
|
||||
<view class="cover">
|
||||
<image src="/images/user.png"class="user"/>
|
||||
</view>
|
||||
<form bindsubmit="submit">
|
||||
|
||||
<view class="section">
|
||||
<view class="title">昵称:</view>
|
||||
<input type="nickname" class="input"name="nickname"placeholder="昵称" />
|
||||
</view>
|
||||
|
||||
<view class="section">
|
||||
<view class="title">性别:</view>
|
||||
<radio-group class="mg" name="gender">
|
||||
<label >
|
||||
<radio value="nan" />
|
||||
男
|
||||
</label>
|
||||
<label >
|
||||
<radio value="nv" />
|
||||
女
|
||||
</label>
|
||||
</radio-group>
|
||||
</view>
|
||||
|
||||
<view class="section">
|
||||
<view class="title">年龄:</view>
|
||||
<picker bindchange="dateChange" fields="year" value="{{date}}"mode="date"class="input"name="date">
|
||||
<view class="picker">出生年:{{date}}</view>
|
||||
</picker>
|
||||
</view>
|
||||
<view class="section">
|
||||
<view class="title">地区:</view>
|
||||
<picker bindchange="regionChange" value="{{region}}" value="{{region}}"mode="region"class="input"name="region">
|
||||
<view class="picker">当前选择:{{region}}</view>
|
||||
</picker>
|
||||
</view>
|
||||
|
||||
<view class="section">
|
||||
<view class="title">可以添加到你的联系方式:</view>
|
||||
<input type="input" class="input"name="code"placeholder="昵称" />
|
||||
|
||||
</view>
|
||||
|
||||
<view class="section">
|
||||
<view class="title">你的基本情况:</view>
|
||||
<input type="input" class="input"name="code"placeholder="昵称" />
|
||||
</view>
|
||||
|
||||
<view class="area">
|
||||
<button style="margin:30rpx 0"type="primary"
|
||||
form-type="submit">提交</button>
|
||||
<button style="margin:30rpx 0"type="reset"
|
||||
form-type="submit">重置</button>
|
||||
</view>
|
||||
</form>
|
||||
</view>
|
@ -0,0 +1,37 @@
|
||||
.cover{
|
||||
background-color: #f1f1f1;
|
||||
width: 10%;
|
||||
height: 10%;
|
||||
padding: 1rpx;
|
||||
}
|
||||
.body{
|
||||
margin: 40rpx;
|
||||
}
|
||||
.section{
|
||||
margin: 40rpx 0 80rpx;
|
||||
}
|
||||
.title{
|
||||
font-weight: 36rpx;
|
||||
}
|
||||
.input{
|
||||
margin:30rpx 0;
|
||||
border-bottom: 1px solid #666;
|
||||
padding: 20rpx 0;
|
||||
width:100%
|
||||
}
|
||||
.mg{
|
||||
margin: 30rpx 0;
|
||||
}
|
||||
.area{
|
||||
margin:100rpx auto;
|
||||
display:flex;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.desc{
|
||||
font-weight: 500;
|
||||
color: #000;
|
||||
font-size: 44rpx;
|
||||
margin: 50rpx 32rpx;
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
|
||||
"rules": [{
|
||||
"action": "allow",
|
||||
"page": "*"
|
||||
}]
|
||||
}
|
@ -0,0 +1,77 @@
|
||||
{
|
||||
"miniprogramRoot": "miniprogram/",
|
||||
"cloudfunctionRoot": "cloudfunctions/",
|
||||
"setting": {
|
||||
"urlCheck": true,
|
||||
"es6": true,
|
||||
"enhance": true,
|
||||
"postcss": true,
|
||||
"preloadBackgroundData": false,
|
||||
"minified": true,
|
||||
"newFeature": true,
|
||||
"coverView": true,
|
||||
"nodeModules": false,
|
||||
"autoAudits": false,
|
||||
"showShadowRootInWxmlPanel": true,
|
||||
"scopeDataCheck": false,
|
||||
"uglifyFileName": false,
|
||||
"checkInvalidKey": true,
|
||||
"checkSiteMap": true,
|
||||
"uploadWithSourceMap": true,
|
||||
"compileHotReLoad": false,
|
||||
"lazyloadPlaceholderEnable": false,
|
||||
"useMultiFrameRuntime": true,
|
||||
"babelSetting": {
|
||||
"ignore": [],
|
||||
"disablePlugins": [],
|
||||
"outputPath": ""
|
||||
},
|
||||
"enableEngineNative": false,
|
||||
"useIsolateContext": true,
|
||||
"userConfirmedBundleSwitch": false,
|
||||
"packNpmManually": false,
|
||||
"packNpmRelationList": [],
|
||||
"minifyWXSS": true,
|
||||
"disableUseStrict": false,
|
||||
"showES6CompileOption": false,
|
||||
"useCompilerPlugins": false,
|
||||
"minifyWXML": true,
|
||||
"ignoreUploadUnusedFiles": true
|
||||
},
|
||||
"cloudfunctionTemplateRoot": "cloudfunctionTemplate/",
|
||||
"condition": {
|
||||
"search": {
|
||||
"list": []
|
||||
},
|
||||
"conversation": {
|
||||
"list": []
|
||||
},
|
||||
"plugin": {
|
||||
"list": []
|
||||
},
|
||||
"game": {
|
||||
"list": []
|
||||
},
|
||||
"miniprogram": {
|
||||
"list": [
|
||||
{
|
||||
"id": -1,
|
||||
"name": "db guide",
|
||||
"pathName": "pages/databaseGuide/databaseGuide"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"srcMiniprogramRoot": "miniprogram/",
|
||||
"compileType": "miniprogram",
|
||||
"editorSetting": {
|
||||
"tabIndent": "insertSpaces",
|
||||
"tabSize": 2
|
||||
},
|
||||
"libVersion": "2.14.1",
|
||||
"packOptions": {
|
||||
"ignore": [],
|
||||
"include": []
|
||||
},
|
||||
"appid": "wxa443f40488e954d4"
|
||||
}
|
@ -0,0 +1 @@
|
||||
"E:\Program Files\微信web开发者工具\cli.bat" cloud functions deploy --e cloud1-7gyjwcyfbdf819da --n quickstartFunctions --r --project "E:\Homework\软工课设\gitProject1\src" --report_first --report
|