工作总结
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的更多相关文章

随机推荐

  1. phper必知必会之数组指针(四)

    数组指针 1.介绍几个数组指针的函数 current() - 返回数组中的当前单元 end() - 将数组的内部指针指向最后一个单元 prev() - 将数组的内部指针倒回一位 reset() - 将 ...

  2. 在 Windows 上使用 Cygwin

    引用:http://www.ibm.com/developerworks/cn/aix/library/au-spunix_cygwin/#resources Cygwin 是一个用于 Microso ...

  3. vim应用:终极解决windows系统gvim/vim的各种乱码(文件,菜单,提示信息)!

    这个方法解决了我的windows下 gvim的中文乱码问题(跟大家分享一下). 此方法引用   http://www.douban.com/note/145491549/ 查看文件的编码::echo ...

  4. java操作Excel之POI(6)使用POI实现使用模板批量添加数据

    action是用struts2写的:前端界面easyUI写的, 前端: <!DOCTYPE html> <html> <head> <meta charset ...

  5. vs2013编写的ASP.NET网站配置在XP IIS5.1上

     1.vs创建项目时,选择.Net Framework2.0 2.配置网站属性 Step1.进入命令行,注册ASP.NET IIS cmd => cd "C:\WINDOWS\Mi ...

  6. Java 迭代器 工具类

    迭代器:Iterator接口 //获取集合中的对象Iterator<E> iterator() interface Iterator { boolean hasNext(); Object ...

  7. Spark SQL 编程

    Spark SQL的依赖 Spark SQL的入口:SQLContext 官方网站参考 https://spark.apache.org/docs/1.6.2/sql-programming-guid ...

  8. Java反射 - 简单的给Bean赋值和取值

    由于项目的实际需要,所以利用java反射原理写了一个简单给bean赋值和取值通用的类,在此记录下方便自己日后用到,也为需要的兄弟提供个参考例子. 工具类BeanRefUtil:   package c ...

  9. svn+apache快速安装

    1.[安装基本软件包],  yum -y install httpd subversion mod_dav_svn 2.[验证svn安装是否成功及httpd 的mod_dav模块是否加载] svn - ...

  10. 关于putty连接百度云linux服务器那些事

    看有活动,30元半年的百度云服务器,就直接买了当练手的玩 买完之后,发现使用putty不能直接连接百度云的centos服务器, 用了putty和ssh都不能连接 试了好几次,都打算尝试用秘钥对的形式了 ...