工作总结
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. VS2015 C#项目工程配置emgucv依赖的方法

    1.VS2015新建一个C# console工程 2.Tools->NuGet package management->manage NuGet package for solution- ...

  2. (文章转载)织梦CMS判断不同的栏目显示不同的图片

    {dede:php} $thisid = $refObj->Fields['id']; $row = $dsql->GetOne("Select typeid From `ybs ...

  3. linux svn服务器(一)

    先安装 参考文章http://www.cnblogs.com/zhaoyang-1989/articles/3455481.html

  4. 在react-native中使用es7语法中的decorator装饰器

    在react-native中默认使用decorator会红屏报错,需要安装一个babel插件: babel-plugin-transform-decorators-legacy 然后在根目录下的.ba ...

  5. BASIC-20_蓝桥杯_数的读法

    示例代码: #include <stdio.h>#include <string.h>#define N 10 char num[N] = {0} ; void yuyin(i ...

  6. HA 部署wordpress

    前提: 1.保证免密认证ssh 2.NTP时间是否同步: 3.保证防火墙,selinux关闭: 4.用户名互相能够解析:在hosts文件设置: 环境: 系统:centos6.8和centos7.2 I ...

  7. 1115 Counting Nodes in a BST (30 分)

    1115 Counting Nodes in a BST (30 分) A Binary Search Tree (BST) is recursively defined as a binary tr ...

  8. 1085 Perfect Sequence (25 分)

    1085 Perfect Sequence (25 分) Given a sequence of positive integers and another positive integer p. T ...

  9. php 数组随机取值

    array_rand()在你想从数组中取出一个或多个随机的单元时相当有用.它接受 input 作为输入数组和一个可选的参数 num_req,指明了你想取出多少个单元 - 如果没有指定,默认为 1. a ...

  10. Django之模板Template

    模板介绍 作为Web框架,Django提供了模板,可以很便利的动态生成HTML 模版系统致力于表达外观,而不是程序逻辑 模板的设计实现了业务逻辑(view)与显示内容(template)的分离,一个视 ...