mark_2017_2_27
工作总结
web_acl
535 git clone “ssh://git@outergit.yonyou.com:49622/esn_web/web_acl.git"
600 git branch wulongchao_timestamp_17_01_11
601 git checkout wulongchao_timestamp_17_01_11
643 git commit -m 'add modify timestamp’
647 git push origin guorunhe_timestamp_17_01_11
1.配置nginx服务器,在service下增加配置文件,启动nginx服务器(百度)
2.增加php redis服务(百度)
3.安装git,并将项目从仓库clone下来
1)在hosts下增加:172.16.75.71 outergit.yonyou.com
2)若果没有权限的话就去找国栋哥增加权限
3)git clone ”ssh://git@outergit.yonyou.com:49622/esn_web/web_acl.git“
4)新建分支
5)修改代码
6)commit
7)推送代码
4.config下的config.php-dist、redis.php-dist和lib/yycenterSDK/const.php-dist修改为相应的.php
5.访问url并进行代码编写、调试
6.将编写好的代码提交至仓库
service
hg clone 主机名
356 hg up default
357 hg branch wulongchao_timestamp_17_01_11
358 hg branch
359 hg pull https://hgcode.upesn.com/services/service_esn_plugins_pengzhaoxia -e pzx_merge
360 hg merge pzx_merge
361 hg ci -m '合并'
1.编写代码
2.将代码提交到朝霞哥的分支
3.对代码进行调试
必须注意代码风格。
开通端口号
esn_plugins redis配置
无法添加模块问题
添加资源模块 编辑超级管理员权限
web_acl走自己的端口
改web端的config文件夹下的config.php
'EsnPlugins' => array(
'uri' => '172.20.1.177:6002',
'user' => 'Esn',
'secret' => '{1BA09530-F9E6-478D-9965-7EB31A59537E}',
),
把uri改成自己的端口号
'EsnPlugins' => array(
'uri' => '172.20.1.177:5719',
'user' => 'Esn',
'secret' => '{1BA09530-F9E6-478D-9965-7EB31A59537E}',
),
提示请先登录主站问题 要登录ssh
memberToolBar 分页
where 1=1 是为了避免where 关键字后面的第一个词直接就是 “and”而导致语法错误。
!empty($s) && $aCond['s'] = $s; 只有在$s不为空的情况下 $aCond['s'] = $s;
不然$aCond['s']不存在
ajax 常见的一种效果,在用ajax请求时,没有返回前会出现前出现一个转动的loading小图标或者“内容加载中..”,用来告知用户正在请求数据。这个就可以用beforeSend方法来实现。
jQuery fadeOut 淡出
增删改查
1.判断参数
2.sql语句
3.参数条件数组
ssh://git@outergit.yonyou.com:49622/esn_service/service_esn_plugins.git
<script>
var a = [3,4,5,6,7,8,9];
$.each(a,function(index,item){
// index是索引值(即下标) item是每次遍历得到的值;
if(item==7){
a.splice(index,1);
}
});
</script>
删除节点最后一个元素
$(".new-version-num").last().remove();
git clone ssh://git@outergit.yonyou.com:49622/esn_service/service_esn_plugins.git
$ git push <远程主机名> <本地分支名>:<远程分支名>
git 提交代码
git clone ssh://git@outergit.yonyou.com:49622/wulc1/service_esn_plugins.git
cd service_esn_plugins
git branch
git branch wulongchao_version_2017_2_24
git checkout wulongchao_version_2017_2_24
git branch
然后把修改的代码拷进去提交代码
git status
git add .
git commit -m "版本信息"
git push ssh://git@outergit.yonyou.com:49622/wulc1/service_esn_plugins.git wulongchao_version_2017_2_24(本地分支名):wulongchao_version_2017_2_24(远程分支,不存在自动创建)
git上传 要上传到主分支地址
提交到主分支上才能被国栋哥提交到91上
git clone ssh://git@outergit.yonyou.com:49622/esn_service/service_esn_plugins.git(主分支地址)
git branch wulongchao_2017_2_25
git checkout wulongchao_version_2017_2_25
git status
git add .
git commit -m "版本信息"
git push ssh://git@outergit.yonyou.com:49622/esn_service/service_esn_plugins.git(主分支地址) wulongchao_version_2017_2_25
mark_2017_2_27的更多相关文章
随机推荐
- 动态爬虫——selenium2搭载phantomjs入门范例
这是我学习爬虫比较深入的一步了,大部分的网页抓取用urllib2都可以搞定,但是涉及到JavaScript的时候,urlopen就完全傻逼了,所以不得不用模拟浏览器,方法也有很多,此处我采用的是sel ...
- 微信JS-SDK官方示例程序
示例地址:http://203.195.235.76/jssdk/ /* * 注意: * 1. 所有的JS接口只能在公众号绑定的域名下调用,公众号开发者需要先登录微信公众平台进入“公众号设置”的“功能 ...
- CMSIS DSP Lib:RFFT函数的bug
调用arm_rfft_fast_init_f32之后,还有两个成员需要初始化: arm_rfft_fast_instance_f32::pTwiddleRFFT = twiddleCoef_rfft_ ...
- springMVC学习(12)-使用拦截器
一.拦截器配置和测试: 1)定义两个拦截器,(要实现HandlerInterceptor接口) HandlerInterceptor1: package com.cy.interceptor; imp ...
- 杂项-分布式-EDAS:深度解析阿里云EDAS服务
ylbtech-杂项-分布式-EDAS:深度解析阿里云EDAS服务 1.返回顶部 1. 深度解析阿里云EDAS服务 弹性伸缩 摘要: 第一种只适用于业务较少的情况,而在新业务不断增加的情况下,增加新应 ...
- 学习笔记之ASP.NET MVC & MVVM & The Repository Pattern
ASP.NET MVC | The ASP.NET Site https://www.asp.net/mvc ASP.NET MVC gives you a powerful, patterns-ba ...
- Mac parallels desktop安装windows,linux
前言 这款软件你就看作是虚拟机vm,如果你要安装win10系统,请下载ios镜像文件 下载准备工作 Parallels Desktop 13 破解版本 联系站长所要 win10 iso镜像文件 ...
- unity3d之Editor的Assembly-CSharp.dll文件路径
在Editor中与自己project中使用的Mono与Managed文件夹路径区别: Editor中:在unity安装路径[AppDir]下: 自己project中:在project的路径下,由bui ...
- ulimit限制打开的文件数量
以限制打开文件数为例. ulimit -Hn 查看硬限制. ulimit -Sn 查看软限制. ulimit -n 查看两个中更小的限制(软限制始终比硬限制低, 所以查看的是软限制) 设定规则 1.软 ...
- Oracle 统计量NO_INVALIDATE参数配置(上)
转载:http://blog.itpub.net/17203031/viewspace-1067312/ Oracle统计量对于CBO执行是至关重要的.RBO是建立在数据结构的基础上的,DDL结构.约 ...