摘要:
阅读全文
木子炜培先生⑴2017底=>(年薪15万)=>31岁 ⑵2018=》(生产生活用品)并且年薪20万=>32岁 ⑶2019=>年薪30万=>把小作坊升级为工厂=>33岁 ⑷2020=>再开一个食品工厂 |
03 2017 档案
摘要:* @since 2.0 */ interface ManagerInterface extends CheckAccessInterface { /** * Creates a new Role object. * Note that the newly created role is not added to the RBAC system yet. ...
阅读全文
摘要:protected function addItem($item) { $time = time(); if ($item->createdAt === null) { $item->createdAt = $time; } if ($item->updatedAt === null) { ...
阅读全文
摘要:/** * @inheritdoc */ public function add($object) { if ($object instanceof Item) { //①如果是role或permission对象就创建auth_rule if ($object->ruleName && $this->getRu...
阅读全文
摘要:判断是否是classMap还是命名空间的 然后 转换成 绝对路径 include 文件 public static function autoload($className) { //classMap 一般都是类库 官方 或者自定义类映射 if (isset(static::$classMap[$className])) { ...
阅读全文
摘要:class Person{ // 构造 constructor(x,y){ this.x = x; this.y = y; } toString(){ return (this.x + "的年龄是" +this.y+"岁"); } } export {Per...
阅读全文
摘要:Yii2中多表关联查询(join、joinwith) 我们用实例来说明这一部分 表结构 现在有客户表、订单表、图书表、作者表, 客户表Customer (id customer_name) 订单表Order (id order_name customer_id book_id) 图书表 (id bo
阅读全文
摘要:$query = Salesorder::find() ->where(['order_id'=>[1,2,3,4]]) ->select(['order_id']) ; $commandQuery = clone $query; echo $commandQuery->createCommand()->getRawSql(); exit; Sale...
阅读全文
摘要:更多http://www.cnblogs.com/zycbloger/p/6429592.html
阅读全文
摘要:/etc/init.d/目录下 修改权限,可以运行 设置开机自动启动服务 启动服务: 停止服务:
阅读全文
摘要:3.允许远程访问redis 若要支持远程访问调试,除了需要开放服务器端口号6379,还需要将配置文件中的bind 127.0.0.1注释掉,但生产环境中应该放开,避免黑客攻击
阅读全文
摘要:/sbin/iptables -I INPUT -p tcp --dport 6379 -j ACCEPT 写入修改 /etc/init.d/iptables save 保存修改 service iptables restart 重启防火墙,修改生效
阅读全文
摘要:https://github.com/search?utf8=%E2%9C%93&q=yii2文章地址 http://blog.csdn.net/xmlife/article/details/51247846 下载yii composer global require "fxp/composer-asset-plugin:^1.2.0" composer create-project --pre...
阅读全文
摘要:<?php return [ 'class' => 'yii\db\Connection', 'charset' => 'utf8', //多主多从 'masters' => [ ['dsn' => 'mysql:host=localhost;dbname=master1','charset' =>
阅读全文
该文被密码保护。
摘要:https://www.cloudamqp.com/blog/2015-07-29-rabbitmq-on-android.html 本次做的项目,有一部分是通过RabbitMQ来传输的实时数据。然后我这Android端就需要研究怎么接收。以前用的volley什么的,都是用http通讯的,这个稍微不
阅读全文
摘要:: command not found : command not found mqnamesrv: line 35: syntax error: unexpected end of file
阅读全文
摘要:电脑要装nodejs和git 1 2 打开nodejs命令行窗口,进入到npm的代码文件夹下,使用下边命令安装
阅读全文
摘要:01 运维基础 01_01_Centos7.2简介.avi 01_02_Centos7.2安装.avi 01_03_操作系统基础.avi 01_04_Linux操作系统基础.avi 02_01_Linux操作系统及常用命令.avi 02_02...
阅读全文
摘要:ln -s /usr/local/mysql/bin/* /bin/
阅读全文
摘要://policy 要经过base64编码, signature 还要进一步处理,可以查阅官方文档 function OssUpload(param, file, fileName, callBack) { var policyBase64 = Base64.encode(param.policy); var signature = param.signature....
阅读全文
摘要:verifyNotify(); if (isset($verify_result['result_code']) && $verify_result['result_code']=='SUCCESS') { $requestReturnData = file_get_contents("php://input"); //商户订单号 ...
阅读全文
摘要:'$(".info").animate({opacity: 1.0}, 3000).fadeOut("slow");',
阅读全文
摘要:基于参考线的切片=》如果是灰色的 要先新建参考线因为锁定参考线了 要解锁参考线
阅读全文
摘要:一、新增 使用model::save()操作进行新增数据 $user= new User; $user->username =$username; $user->password =$password; $user->save() 使用createCommand()进行新增数据 Yii::$app-
阅读全文
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Vue 树</title> <script src="https://unpkg.com/vue/dist/vue.js"></script> <style t
阅读全文
摘要:相关文章http://www.tuicool.com/articles/JvM73mn Yii2.0源码分析之——控制器文件分析(Controller.php)创建动作、执行动作 1yii请求流程 2 1、和action相关的函数 执行路由:public function run($route, $
阅读全文
摘要:$auth= \Yii::$app->authManager; $auth->getRole('shop'); $auth->add($rule);
阅读全文
摘要:1视图文件 searchmodel文件里 1 2在searchmodel里 search方法里 3searchmodel在rules里 相关文章 http://blog.csdn.net/wjtlht928/article/details/46406771 Yii2让关联字段支持搜索功能
阅读全文
摘要:浅析Yii2中GridView常见操作 http://www.jb51.net/article/82854.htm
阅读全文
摘要:主要思路,首先用composer下载阿里云oss的php sdk,然后自定义一个组件,就能够在全局调用阿里云oss了。具体步骤如下: 1 到阿里云官网找到php sdk,网址为https://help.aliyun.com/document_detail/32099.html?spm=5176.87
阅读全文
摘要:http://www.cnblogs.com/jasonwang2y60/p/6404352.html
阅读全文
摘要:1.直接yum安装memcached yum install -y memcached 2.yum安装php-memcached扩展 yum -y install php-pecl-memcache 3.打开php扩展文件修改扩展 vi /etc/php.ini 任意一行加上下面这句话保存退出ok extension="memcache.so" 重启apache服务 systemctl re...
阅读全文
|