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的更多相关文章
随机推荐
- VBox修改uuid
1.使用VBoxManage命令时,需要先在命令行中切换到VirtualBox的安装目录下 2.修改vdi的uuid:VBoxManage internalcommands sethduuid D: ...
- Sql Server Report Service 的部署问题
近期在研究SSRS部署问题,因为以前也用到过SSRS报表,但当时开发的报表是有专门的集成系统的,不需要我自己去部署,所以对这一块的部署也不熟悉,我记得当时我是直接开发出一个SSRS 报表,然后会通过自 ...
- [转]my97 datepicker IE9+ 故障修复方法
转自:http://blog.csdn.net/xuwj1984/article/details/38733483 问题1:my97 datepicker 不能弹出日期下拉框. 解决方法: 1.下载最 ...
- [转]Java 运算符的优先级
Java 运算符的优先级(从高到低) 优先级 描述 运算符 1 括号 ().[] 2 正负号 +.- 3 自增自减,非 ++.--.! 4 乘除,取余 *./.% 5 加减 +.- 6 移位运算 &l ...
- 1016 Phone Bills (25 分)
1016 Phone Bills (25 分) A long-distance telephone company charges its customers by the following rul ...
- shell脚本判断语句和循环语句
if判断语句 exit跳出判读语句 不加exit的结果 read -n(不换行) 判断是否输入的是数字 read age[[ $age =~ ^[0-9]+$ ]]if [ $? -ne 0 ]; t ...
- vs2013错误解决方法
1.cannot determine the location of the vs common tools folder 打开"VS2013开发人员命令提示后",上面提示&quo ...
- cmd命令总结
1.进入d盘 2.命令运行D:\mongodb\bin中的mongod.exe 显示安装成功!(命令行下运行 MongoDB 服务器)
- python的XML处理模块ElementTree
ElementTree是python的XML处理模块,它提供了一个轻量级的对象模型.它在Python2.5以后成为Python标准库的一部分,但是Python2.4之前需要单独安装.在使用Elemen ...
- Zookeeper 介绍翻译
源网址链接 https://zookeeper.apache.org/ Apache Zookeeper 开放源码的服务器,提供高可靠的分布式协调服务. Zookeeper是一个维护配置信息,命名服务 ...