No Description

罗智元 0bd2ca727f 修改了详情页分享的问题,详见代码注释 4 years ago
components 3ac5bd1280 详情页完成 4 years ago
img e0d395eeb3 个人信息页面 4 years ago
pages 0bd2ca727f 修改了详情页分享的问题,详见代码注释 4 years ago
utils 0bd2ca727f 修改了详情页分享的问题,详见代码注释 4 years ago
.DS_Store 0bd2ca727f 修改了详情页分享的问题,详见代码注释 4 years ago
.gitignore c1c83917f6 init 4 years ago
app.js eedf9a8074 经纬度调整 4 years ago
app.json eedf9a8074 经纬度调整 4 years ago
app.wxss ca0c1e20d3 调整页面 4 years ago
readme.md ae05a758bf lng lat 4 years ago
sitemap.json c1c83917f6 init 4 years ago

readme.md

hello world

curl https://talk.cirray.cn/api/hello

code2userinfo

curl -X POST -d '{"code":"zzz"}' https://talk.cirray.cn/api/code2userinfo

bindphone (不是被分享推荐,就不需要invitor字段)

curl -X POST -d '{"openid":"zzz","encryptedData":"abc","iv":"xyz","invitor":"yyy"}' https://talk.cirray.cn/api/bindphone

binduserinfo

curl -X POST -d '{"openid":"xxx","nickName":"xxx","gender":"xx","avatarUrl":"xxx"}' https://talk.cirray.cn/api/binduserinfo

上传图像 (返回文件名)

curl -X POST -H "Content-Type:multipart/form-data" -F "file=@keyboard.jpeg" https://talk.cirray.cn/api/upload_image 上传成功后, 访问 http://cirraybucket.oss-cn-shanghai.aliyuncs.com/coffeetalk/keyboard.jpeg

创建活动

curl -X POST -d '{"title":"Coffee Talk","location":"愚园路1107号1号楼509","longitude":0,"latitude":0,"starttime":"2020-07-23 09:00:00","endtime":"2020-07-23 15:30:00","deadline":"2020-07-23 09:00:00","capacity":50,"content":"这是一个有趣的活动,enjoy yourself!","images":"hello.jpg;world.jpg","attendfee":30,"organizer":"15692138642","private":1}' https://talk.cirray.cn/api/activity/create (deadline(默认starttime),attendfee(默认0),private(默认0)非必须)

修改活动

curl -X PUT -d '{actid,location,longitude,latitude,starttime,endtime,deadline,capacity,content,images,attendfee,private}' https://talk.cirray.cn/api/activity/update

所有public活动列表

curl https://talk.cirray.cn/api/activity/list_public

我的活动列表

curl https://talk.cirray.cn/api/activity/list_mine/15692138642

根据id获取活动详情

curl https://talk.cirray.cn/api/activity/id/3

参加活动

curl -X POST -d '{"phone":"xxx","actid":3}' https://talk.cirray.cn/api/activity/attend