摘要:基础知识 1、service(): 使用service()可以注册一个支持构造函数的服务,它允许我们为服务对象注册一个构造函数。 service()方法接受两个参数: name(字符串) 要注册的服务名称。 constructor(函数) 构造函数,我们调用它来实例化服务对象。 2、$htt
阅读全文
posted @ 2017-01-11 21:12
posted @ 2017-01-11 21:12
posted @ 2017-01-11 21:06
posted @ 2017-01-11 15:24
posted @ 2017-01-09 21:52
posted @ 2017-01-09 21:37
posted @ 2016-12-28 14:25