Home > php教程 > php手册 > body text

O2O源码-玩转晋城分享(基于APICloud云数据库)

WBOY
Release: 2016-06-07 11:40:05
Original
1577 people have browsed it

O2O源码-玩转晋城分享(基于APICloud云数据库)
12月29日更新
新版oto直接使用api对象的ajax方法请求apicloud的数据云接口,并且增加了类之间的关系,如relation和poionter
database的模型导入和导出敬请期待

user表(修改):修改act_fav、news_fav、mer_fav这3列,使用relation(一对多)关系分别与act_fav、news_fav、mer_fav表对应。

act_fav表(新增):Pointer(一对一)类型的activity列与activity表对应.

ctivity表(修改):修改city、type这2列,使用Pointer(一对一)关系分别与city、type表对应。

banner表(新增):包含img和name

city表(新增):通过city来过滤activity、merchant的数量actSum和merSum

mer_fav(新增):Pointer(一对一)类型的merchant列与merchant表对应

merchant(修改)::修改city、type这2列,使用Pointer(一对一)关系分别与city、type表对应,将pics列的String类型改成relation类型(在查询mechant表时使用到了relation关系中又有relation的请求用法)

news_fav(新增):Pointer(一对一)类型的news列与news表对应

tabBar(新增):表示底部的按钮类,此表与banner、merchant、news、activity表都是relation(一对多)的关系

type(新增):通过type来过滤activity、merchant的数量actSum和merSum

O2O源码-玩转晋城分享(基于APICloud云数据库)O2O源码-玩转晋城分享(基于APICloud云数据库)O2O源码-玩转晋城分享(基于APICloud云数据库)

菜谱百科完整源码(12月1日更新)
http://community.apicloud.com/bbs/forum.php?mod=viewthread&tid=578&extra=page%3D1

附件 O2O.zip ( 1.96 MB 下载:124 次 )

AD:真正免费,域名+虚机+企业邮箱=0元

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!