Sem descrição

Hamilton ae05a758bf lng lat há 4 anos atrás
components 3ac5bd1280 详情页完成 há 4 anos atrás
img e0d395eeb3 个人信息页面 há 4 anos atrás
pages 37642144f4 修改首页编辑文字判断 há 4 anos atrás
utils e0d395eeb3 个人信息页面 há 4 anos atrás
.DS_Store 09557ad209 init há 4 anos atrás
.gitignore c1c83917f6 init há 4 anos atrás
app.js eedf9a8074 经纬度调整 há 4 anos atrás
app.json eedf9a8074 经纬度调整 há 4 anos atrás
app.wxss ca0c1e20d3 调整页面 há 4 anos atrás
readme.md ae05a758bf lng lat há 4 anos atrás
sitemap.json c1c83917f6 init há 4 anos atrás

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