木子炜培先生

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

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页

2017年2月5日

摘要: {{msg}} < 阅读全文
posted @ 2017-02-05 13:57 木子炜培先生 阅读(294) 评论(0) 推荐(0) 编辑

摘要: 1类文件 阅读全文
posted @ 2017-02-05 07:34 木子炜培先生 阅读(357) 评论(0) 推荐(0) 编辑

2017年2月4日

摘要: 1UserExtend先定义一个用户类继承yii\web\User 2在配置里将userclass改成这个类UserExtend 3重写public function can($permissionName, $params = [], $allowCaching = true)这个方法 接下来假设 阅读全文
posted @ 2017-02-04 10:09 木子炜培先生 阅读(190) 评论(0) 推荐(0) 编辑

摘要: 1在控制器里加上 public function behaviors() { $behaviors[]= [ 'class' => 'yii\filters\PageCache', // 设置需要加载的缓存文件 'only' => ['index'], // 设置需要缓存的控制器 'durati... 阅读全文
posted @ 2017-02-04 10:02 木子炜培先生 阅读(164) 评论(0) 推荐(0) 编辑

摘要: 1 2在common/config/main-local.php 3调用自定义组件backend\controllers\SiteController.php 阅读全文
posted @ 2017-02-04 00:37 木子炜培先生 阅读(267) 评论(0) 推荐(0) 编辑

2017年2月2日

摘要: SELECT CONCAT( 'DROP TABLE ', GROUP_CONCAT(table_name) , ';' ) AS statement FROM information_schema.tables WHERE table_schema = 'video' AND table_name LIKE 't_c%'; 阅读全文
posted @ 2017-02-02 10:50 木子炜培先生 阅读(1427) 评论(0) 推荐(0) 编辑

摘要: 方法2 方法3 阅读全文
posted @ 2017-02-02 02:54 木子炜培先生 阅读(230) 评论(0) 推荐(0) 编辑

2017年1月30日

摘要: public function scenarios() { return [ 'add' => ['title', 'content'], ]; } 阅读全文
posted @ 2017-01-30 23:49 木子炜培先生 阅读(206) 评论(0) 推荐(0) 编辑

摘要: //假设POST数据如下: $_POST = [ 'username' => 'xiaoming', 'password' => '123456', ]; public function actionLogin(){ $model = new \app\models\LoginForm(); $model->load(Yii::$app->request->po... 阅读全文
posted @ 2017-01-30 04:09 木子炜培先生 阅读(160) 评论(0) 推荐(0) 编辑

摘要: 注意namespace必须模仿下来,就是yii\helpers,类名也一样,文件名可以不一样,可以放在你喜欢的地方 阅读全文
posted @ 2017-01-30 04:04 木子炜培先生 阅读(261) 评论(0) 推荐(0) 编辑

上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页