木子炜培先生

⑴2017底=>(年薪15万)=>31岁 ⑵2018=》(生产生活用品)并且年薪20万=>32岁 ⑶2019=>年薪30万=>把小作坊升级为工厂=>33岁 ⑷2020=>再开一个食品工厂

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2017年1月27日

摘要: 完整代码 阅读全文
posted @ 2017-01-27 03:01 木子炜培先生 阅读(581) 评论(0) 推荐(0) 编辑

摘要: 一、安装 yii2 1、下载高级应用程序模板 下载地址:http://www.yiichina.com/download, 下载Yii2 的高级应用程序模板 解压后将文件夹放在你的 apache 运行目录下 2、新建数据库 advanced,然后新建 user 用户表 配置数据库文件 advance 阅读全文
posted @ 2017-01-27 02:53 木子炜培先生 阅读(389) 评论(0) 推荐(0) 编辑

2017年1月26日

摘要: $query = User::find() ->where(['id'=>[1,2,3,4]) ->select(['username']) // get the AR raw sql in YII2 $commandQuery = clone $query; echo $commandQuery->createCommand()->getRawSql(); $users = $qu... 阅读全文
posted @ 2017-01-26 23:42 木子炜培先生 阅读(338) 评论(0) 推荐(0) 编辑

摘要: 其他文章 https://getyii.com/topic/28 阅读全文
posted @ 2017-01-26 23:27 木子炜培先生 阅读(216) 评论(0) 推荐(0) 编辑

摘要: @ 阅读全文
posted @ 2017-01-26 22:29 木子炜培先生 阅读(110) 评论(0) 推荐(0) 编辑

摘要: <div class="btn-group"> <button data-toggle="dropdown"> 默认 </button> <ul class="dropdown-menu"> <li><a href="#">功能</a></li> </ul> </div> 效果图 阅读全文
posted @ 2017-01-26 22:12 木子炜培先生 阅读(323) 评论(0) 推荐(0) 编辑

摘要: Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours()%12==0?12:this.getHours()%12... 阅读全文
posted @ 2017-01-26 21:54 木子炜培先生 阅读(1424) 评论(0) 推荐(0) 编辑

该文被密码保护。 阅读全文
posted @ 2017-01-26 17:16 木子炜培先生 阅读(2) 评论(0) 推荐(0) 编辑

摘要: 1配置 2 阅读全文
posted @ 2017-01-26 12:35 木子炜培先生 阅读(132) 评论(0) 推荐(0) 编辑

摘要: 1 我是这样做的 2 1. searchModel里面: 3 $query = Order::find()->from(['o' => Order::tableName()]); 4 $query->joinWith(['dcUser0 u', 'product0 p']); 5 2. Order model里面 6 public functi... 阅读全文
posted @ 2017-01-26 12:21 木子炜培先生 阅读(175) 评论(0) 推荐(0) 编辑