Commit ed15fb7d authored by zhaofei's avatar zhaofei

s

parent 9530cf30
...@@ -6,8 +6,8 @@ cloud.init({ ...@@ -6,8 +6,8 @@ cloud.init({
}); });
App({ App({
requestType: 'cloud', // cloud: 云函数, yapi: yapi 接口, ams: ams接口, requestType: 'yapi', // cloud: 云函数, yapi: yapi 接口, ams: ams接口,
cloudName: 'proyaAnswer2c', // 主云函数项目名 cloudName: 'CommonToC', // 主云函数项目名
cloud, cloud,
tbcc, tbcc,
onLaunch(options) { onLaunch(options) {
...@@ -22,6 +22,6 @@ App({ ...@@ -22,6 +22,6 @@ App({
*/ */
handleQuery(query) { handleQuery(query) {
const { activityId } = query; const { activityId } = query;
this.activityId = activityId || '5f7069c7086e6573ceebd22f'; this.activityId = activityId || 'testId';
} }
}); });
...@@ -81,7 +81,7 @@ Page({ ...@@ -81,7 +81,7 @@ Page({
async login() { async login() {
const { nickName, avatar } = app; const { nickName, avatar } = app;
const { success } = await API.login({ const { success } = await API.login({
userNick: nickName, avatar, isFollow: true, userNick: nickName, avatar, isFollow: true,entry:1
}).catch(res => { }).catch(res => {
commonToast(res && res.message); commonToast(res && res.message);
}) || {}; }) || {};
......
{ {
"cloud": { "cloud": {
"type": "CLOUDAPP" "type": "CLOUDAPP"
} },
"exclude": [
"server/**"
]
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment