urls.py from django.conf.urls import url from django.contrib import admin from app01.views import user,banner,goods,categroy,order urlpatterns = [ url ...
分类:
其他好文 时间:
2020-03-23 20:09:46
阅读次数:
65
根据商品分类categroy_id查询数据库(分页,排序,序列化) 返回给前端 实现流程 自定义分页类 在配置文件中指定分页类 在goods/views.py实现sku列表视图 ...
分类:
其他好文 时间:
2018-11-29 21:16:16
阅读次数:
197
Category原理 - Category编译之后的底层结构是 struct categroy_t,里面存储着分类对象方法、属性、协议信息- 当程序运行时,通过runtime动态的将分类的方法、属性、协议合并到一个大数组中- 底层使用的是二维数组进行存储,比如:[[分类2方法列表],[分类1方法列表 ...
分类:
其他好文 时间:
2018-11-15 17:06:38
阅读次数:
169
public function getCategoryTree($pid=0,$t=-1) { $t++; static $cat_temp; $data = M('keywords_categroy')->findAll(array('pid'=>$pid),'id ASC, category')... ...
分类:
Web程序 时间:
2018-04-13 13:24:12
阅读次数:
195
action:当有多个action匹配隐式启动时会弹出选择框 categroy :动作执行环境 Launcher属性通常与main配合使用 Defalut:按照普通的执行顺序。 ...
分类:
其他好文 时间:
2017-03-19 15:53:58
阅读次数:
138
abstract class Workers { String name; //who String categroy; //科目类别 String level; //学历 int graduationtime; //毕业时长 //工作经历 abstract void work(); //现在 ab ...
分类:
其他好文 时间:
2017-01-07 01:14:00
阅读次数:
153
1. Group by function The group by function will categroy the table according to different requirement: Select Employed, Major_category, SUM(Employed) ...
分类:
其他好文 时间:
2016-11-19 08:01:13
阅读次数:
171
UITabBarController 定制 特点 用法 1.准备工作: 加入你的相关图片,放入了Assets.xcassets; 导入Categroy文件夹(这个里面的文件,在这里不详细说明了,有疑问请看http://www.cnblogs.com/makingitbest/p/5789355.ht ...
分类:
其他好文 时间:
2016-08-22 00:18:35
阅读次数:
156
UITabBarController 定制 特点 用法 1.准备好你的tabBar图片及其他图片(哈哈哈!!!!),我的图片都放在了Assets.xcassets中. 2.导入本工程中的Categroy文件夹, 其中包含: HexColor.h/.m(设置颜色的), NSString+Renderi ...
分类:
其他好文 时间:
2016-08-20 23:12:21
阅读次数:
209
naivebayes朴素贝叶斯分类器原理公式分解:1.p(word|categroy)=p(分类category的文档中出现word的文档总数)/分类category总文档数p(word|categroy)意思为在category分类中word出现的概率2.p(doc|categroy)=p(word1|categroy)*p(word2|categroy)*...*p(wordn|categroy)p(doc|cat..
分类:
其他好文 时间:
2016-07-19 14:08:00
阅读次数:
226