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