摘要:
class OcButlerTask extends \yii\db\ActiveRecord { //... public static function getDb() { return \Yii::$app->db2; // 使用名为 "db2" 的应用组件 } } 阅读全文
木子炜培先生⑴2017底=>(年薪15万)=>31岁 ⑵2018=》(生产生活用品)并且年薪20万=>32岁 ⑶2019=>年薪30万=>把小作坊升级为工厂=>33岁 ⑷2020=>再开一个食品工厂 |
摘要:
class OcButlerTask extends \yii\db\ActiveRecord { //... public static function getDb() { return \Yii::$app->db2; // 使用名为 "db2" 的应用组件 } } 阅读全文
摘要:
location / { try_files $uri @apache; } location @apache { internal; proxy_pass http://127.0.0.1:88; include proxy.conf; ... 阅读全文
摘要:
1在frontend/libs新建TestAction.php 2在SiteController里调用testAction: 3配置视图views/site/test.php完成测试: http://127.0.0.8/index.php?r=site%2Ftest&get=xxx $get、$pa 阅读全文
摘要:
http://www.yiichina.com/doc/guide/2.0/rest-authentication http://www.yiiframework.com/extension/yii2-oauth2-server/ 阅读全文
摘要:
1 function loadScript(src,callback){ 2 //生成新script 3 var newScript = document.createElement('script'); 4 newScript.type = 'text/javascript'; 5 if(window.attac... 阅读全文
摘要:
http://www.cnblogs.com/wunaozai/p/6073731.html 阅读全文
|