电商
文章平均质量分 58
zhangdaohong
这个作者很懒,什么都没留下…
展开
-
adb: CreateFileW 'nul' failed: 系统找不到指定的文件,studio连接不上手机
https://blog.csdn.net/u012556114/article/details/81977595原创 2018-11-24 05:12:58 · 447 阅读 · 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 · 600 阅读 · 0 评论 -
Yii: 返回数据表中指定字段以及添加自定义字段值
Yii: 返回数据表中指定字段以及添加自定义字段值2012年12月26日 04:12:22 陈小峰_iefreer 阅读数:13427更多个人分类: Web版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/iefreer/article/details/8436641在Yii框架中要返回数据表若干字段而不是全部字段的值,方法有两个:...原创 2018-11-19 11:57:26 · 2808 阅读 · 1 评论 -
电商8,数据同步
老库里面的东西,导入到新数据库,可能不一致。原创 2018-11-16 15:22:25 · 239 阅读 · 0 评论 -
lnmp 环境require(): open_basedir restriction in effect 错误
https://blog.csdn.net/qq_28450919/article/details/81879521准备把laravel项目部署到lnmp环境的时候出现了500错误先开启 php.ini 中的错误提示 display_error= On接下来我们会看到这个是open_basedir设置的问题,因为laravel的访问目录是/publiccd /usr/local...原创 2018-11-15 01:44:58 · 307 阅读 · 0 评论 -
sql优化
explain select d1.id fromdoctor_share as d1 inner join(select id from doctor_sharewhere check_status=1 and is_delete=0) as d2on d1.id=d2.idwhere d1.type=1order by id descli...原创 2019-06-20 22:17:32 · 163 阅读 · 0 评论 -
git 合并分支去除部分文件
https://blog.csdn.net/boysky0015/article/details/78185879/https://blog.csdn.net/sharpdeng/article/details/80441469原创 2019-04-09 18:45:03 · 2303 阅读 · 0 评论 -
vue 入门教程1
vue3.5.51.npm install -g @vue/cli 全局安装vue3.52.vue create admin 创建admin项目,不可以大写3.cd admin4.npm install5.npm run serve 启动项目6.安装 vue-routernpm install vue-router7.建立ro...原创 2019-04-07 23:51:55 · 234 阅读 · 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 · 334 阅读 · 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 mergeerror: Your local changes to the fo...原创 2018-11-15 16:17:53 · 425 阅读 · 0 评论 -
lnmp 1.5 mysql数据库开启远程访问
https://blog.csdn.net/qq_28719743/article/details/80825823sudo su # 切换为root用户模式,省的接下来操作的时候出现权限问题1mysql -u root -p # 进入mysql命令行模式,需要输入mysql root账号的密码1GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' ...原创 2018-11-14 01:25:29 · 172 阅读 · 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 · 405 阅读 · 0 评论 -
Vue之使用ajax获取json数据,并用v-for循环显示在表格中
https://www.cnblogs.com/creazybeauty/p/8569043.htmlVue之使用ajax获取json数据,并用v-for循环显示在表格中运行的时候,出现了php跨域问题,解决办法是在php的头文件中添加了如下代码: header('Content-Type: application/json'); header('Content-Type...原创 2018-11-13 14:04:05 · 16392 阅读 · 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 · 241 阅读 · 1 评论