O2O source code-share fun with Jincheng (based on APICloud cloud database)

Source: Internet
Author: User
Provides various official and user-released code examples. For code reference, you are welcome to learn O2O source code-share with Jincheng (based on APICloud cloud database)
Updated on January 1, December 29
The new version of oto directly uses the ajax method of the api object to request the apicloud data cloud interface, and adds relationships between classes, such as relation and poionter.
Database Model import and export are coming soon

User table (modify): Modify the three columns "act_fav", "news_fav", and "mer_fav". Use the relation (one-to-multiple) Relationship to correspond to the "act_fav", "news_fav", and "mer_fav.

Act_fav table (new): the Pointer (one-to-one) type activity column corresponds to the activity table.

Ctiter table (modify): Modify the city and type columns and use the Pointer (one-to-one) Relationship to correspond to the city and type tables respectively.

Banner table (new): including img and name

City table (new): use city to filter activity, merchant count actSum, and merSum

Mer_fav (new): The merchant column of the Pointer (one-to-one) type corresponds to the merchant table.

Merchant (modify): Modify the two columns city and type, and use the Pointer (one-to-one) Relationship to correspond to the city and type tables respectively, change the String type of the pics column to the relation type (the relation and relation request usage are used when the mechanism Table is queried)

News_fav (new): the Pointer (one-to-one) type news column corresponds to the news table

TabBar (new): indicates the button class at the bottom. This table is related to the banner, merchant, news, and activity tables (one-to-many ).

Type (new): use type to filter activity, merchant count actSum, and merSum



Complete source code for the recipe Encyclopedia (updated on January 1, December 1)
Http://community.apicloud.com/bbs/forum.php? Mod = viewthread & tid = 578 & extra = page % 3D1

O2O.zip (1.96 MB download: 124 times)

AD: truly free, domain name + VM + enterprise mailbox = 0 RMB

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.