Geen omschrijving

wangningfei 08ac60a3f5 添加自定义tabbar,添加授权手机号弹窗 4 jaren geleden
components 3ac5bd1280 详情页完成 4 jaren geleden
config 49f25a884d 图片裁剪,首页样式,提交活动参数,详情页面动画 4 jaren geleden
custom-tab-bar 08ac60a3f5 添加自定义tabbar,添加授权手机号弹窗 4 jaren geleden
img bd71a83705 调整样式,添加电话 4 jaren geleden
lib 49f25a884d 图片裁剪,首页样式,提交活动参数,详情页面动画 4 jaren geleden
pages 08ac60a3f5 添加自定义tabbar,添加授权手机号弹窗 4 jaren geleden
utils 72cd0bf3ec 授权微信头像 4 jaren geleden
.DS_Store 0bd2ca727f 修改了详情页分享的问题,详见代码注释 4 jaren geleden
.gitignore c1c83917f6 init 4 jaren geleden
app.js 72cd0bf3ec 授权微信头像 4 jaren geleden
app.json 08ac60a3f5 添加自定义tabbar,添加授权手机号弹窗 4 jaren geleden
app.wxss ca0c1e20d3 调整页面 4 jaren geleden
readme.md ae05a758bf lng lat 4 jaren geleden
sitemap.json c1c83917f6 init 4 jaren geleden

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