
电商
文章平均质量分 58
zhangdaohong
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
adb: CreateFileW 'nul' failed: 系统找不到指定的文件,studio连接不上手机
https://blog.youkuaiyun.com/u012556114/article/details/81977595原创 2018-11-24 05:12:58 · 482 阅读 · 0 评论 -
nginx+php使用open_basedir限制站点目录防止跨站
方法1)在Nginx配置文件中加入 fastcgi_param PHP_VALUE "open_basedir=$document_root:/tmp/:/proc/"; 1 通常nginx的站点配置文件里用了include fastcgi.conf;,这样的,把这行加在fastcgi.conf里就OK了。 如果某个站点需要单独设置额外的目录,把上面的代码写在include fastc...原创 2018-11-24 02:13:21 · 632 阅读 · 0 评论 -
Yii: 返回数据表中指定字段以及添加自定义字段值
Yii: 返回数据表中指定字段以及添加自定义字段值 2012年12月26日 04:12:22 陈小峰_iefreer 阅读数:13427更多 个人分类: Web 版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.youkuaiyun.com/iefreer/article/details/8436641 在Yii框架中要返回数据表若干字段而不是全部字段的值,方法有两个: ...原创 2018-11-19 11:57:26 · 2892 阅读 · 1 评论 -
电商8,数据同步
老库里面的东西,导入到新数据库,可能不一致。原创 2018-11-16 15:22:25 · 289 阅读 · 0 评论 -
lnmp 环境require(): open_basedir restriction in effect 错误
https://blog.youkuaiyun.com/qq_28450919/article/details/81879521 准备把laravel项目部署到lnmp环境的时候出现了500错误 先开启 php.ini 中的错误提示 display_error= On 接下来我们会看到 这个是open_basedir设置的问题,因为laravel的访问目录是/public cd /usr/local...原创 2018-11-15 01:44:58 · 338 阅读 · 0 评论 -
sql优化
explain select d1.id from doctor_share as d1 inner join (select id from doctor_share where check_status=1 and is_delete=0 ) as d2 on d1.id=d2.id where d1.type=1 order by id desc li...原创 2019-06-20 22:17:32 · 202 阅读 · 0 评论 -
git 合并分支去除部分文件
https://blog.youkuaiyun.com/boysky0015/article/details/78185879/ https://blog.youkuaiyun.com/sharpdeng/article/details/80441469原创 2019-04-09 18:45:03 · 2355 阅读 · 0 评论 -
vue 入门教程1
vue3.5.5 1.npm install -g @vue/cli 全局安装vue3.5 2.vue create admin 创建admin项目,不可以大写 3.cd admin 4.npm install 5.npm run serve 启动项目 6.安装 vue-router npm install vue-router 7.建立ro...原创 2019-04-07 23:51:55 · 286 阅读 · 0 评论 -
Yii2.0 高级模版编写使用自定义组件(component)
https://www.cnblogs.com/mafeifan/p/4296767.html 如果是basic模板 1.根目录下新建,compents目录。添加文件。 2.在yii2添加 classes.php 'yii\components\ReadHttpHeader' => YII2_PATH .'/../../../components/ReadHttpH...原创 2018-11-16 04:19:04 · 373 阅读 · 0 评论 -
git pull更新错误解决办法
http://blog.chinaunix.net/uid-10415985-id-4142896.html 分类: 项目管理 2014-03-11 18:00:00 Your local changes to the following files would be overwritten by merge error: Your local changes to the fo...原创 2018-11-15 16:17:53 · 450 阅读 · 0 评论 -
lnmp 1.5 mysql数据库开启远程访问
https://blog.youkuaiyun.com/qq_28719743/article/details/80825823 sudo su # 切换为root用户模式,省的接下来操作的时候出现权限问题 1 mysql -u root -p # 进入mysql命令行模式,需要输入mysql root账号的密码 1 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' ...原创 2018-11-14 01:25:29 · 199 阅读 · 0 评论 -
tp nginx pathinfo 隐藏index.php
location / { if (!-e $request_filename) { #rewrite ^(.*)$ /index.php?s=$1 last; rewrite ^/think/tp/public/(.*)$ /think/tp/public/index.php/$1 last; ...原创 2018-11-12 01:38:39 · 429 阅读 · 0 评论 -
Vue之使用ajax获取json数据,并用v-for循环显示在表格中
https://www.cnblogs.com/creazybeauty/p/8569043.html Vue之使用ajax获取json数据,并用v-for循环显示在表格中 运行的时候,出现了php跨域问题,解决办法是在php的头文件中添加了如下代码: header('Content-Type: application/json'); header('Content-Type...原创 2018-11-13 14:04:05 · 16589 阅读 · 0 评论 -
使用git pull文件时和本地文件冲突怎么办
使用git pull文件时和本地文件冲突怎么办? http://www.01happy.com/git-resolve-conflicts/ 同事在使用git pull代码时,经常会碰到有冲突的情况,提示如下信息: error: Your local changes to 'c/environ.c' would be overwritten by merge. Aborting. Ple...原创 2018-11-13 13:35:23 · 281 阅读 · 1 评论