微信小程序机票预定系统

经过两三个月的开发,我们的机票订购系统终于开发完毕。下周就可以上线了。

IBE终究还是Amadeus.

查询入口:

 

票价列表:

 

选择航班:

 

 

 

 

 

 

填写出行人信息:

 

确认订单:

 

微信支付:

 

 

 

CentOS 5 时代终结

今天发现服务器CentOS 5 已经无法用YUM命令安装软件了。原来已经停止更新了。

CentOS 5 – is now End of Life

Postby TrevorH » 2016/04/12 22:27:47

CentOS 5 has reached end of life upstream.

As there will be no more fixes for RHEL 5 released public upstream by Redhat then there will be no more updates for CentOS 5 either. You are encouraged to migrate any remaining systems to CentOS 7 or to CentOS 6 (which itself enters Production Phase 3 upstream in May 2017 with End of Life coming in 2020).

Expect the current CentOS 5 mirror content to migrate to vault.centos.org in the near future.

This notice was originally posted when CentOS 5 had one year of supported life left. It now has 6 1 month 1 week. You are encouraged to put your migration plans into action now if you haven’t already done so. CentOS 6 goes EOL in 2020, CentOS 7 in 2024.

Don’t delay, get migrating today

Redhat have issued a 3 month retirement notice that you can read on http://rhn.redhat.com/errata/RHSA-2016-2997.html

As per the announcement upstream, http://rhn.redhat.com/errata/RHSA-2016-0561.html you should know that CentOS 5 now has one year of support life left. People using CentOS 5 are encouraged to start their migration process to a supported version.

It should be noted that, unlike RHEL, there is no extended support option for CentOS. Once RHEL 5 goes EOL upstream on March 31st 2017, there will be no further updates for CentOS 5 at all. Those using CentOS 5 and requiring more than 1 year 3 2 1 month of life are encouraged to investigate the RH extended support program although that will require a migration to RHEL 5 as it does not apply to CentOS 5.

https://www.centos.org/forums/viewtopic.php?f=9&t=57398

在CentOS 7.2 运行Laravel 5.3项目

最近公司的代理商后台重构了。也有一台新机器配置还不错。

所以就安装了最高版本的PHP,用于跑Laravel 5.3项目。

服务器是CentOS 7.2, PHP7, Nginx 1.10, Laravel 5.3相关支持, 其它组件自行安装。

 rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

 yum install php70w

yum install nginx

systemctl enable nginx

systemctl enable php-fpm


 

公司的Apps已经上线

经历了两个多个月的开发,公司的Apps已经上线Google Play和App Store.

接下来还有好多东西要做,觉得要累成狗。

 

 

 

 

 

Google Play Download Link:

https://play.google.com/store/apps/details?id=com.kaytrip.trip.kaytrip

 

 

 

 

 

 

App Store Download Link:

https://itunes.apple.com/cn/app/kai-yuan-lu-you/id808656290?l=en&mt=8

修正tinyMCE的Tool > Source Code在Bootstrap 的Modal Window下不能正常工作问题

昨天有同事反映说后台做行程的一个编辑器, 出问题了。一看tinyMCE的Plugin  Tool > Source Code 在BootStrap的Modal Window下不能编辑.

tinymce_error

 

 

 

 

 

 

 

一开始以为是Chrome兼容性问题, 因为在console log发现了以下错误。加上了async: false还是不管用。

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.

send @ jquery-1.11.1.min.js:4

 

经过Google一番, 原来是BootStrap的Propagation问题导致的,加上以下代码,问题解决。

// prevent Bootstrap from hijacking TinyMCE modal focus
$(document).on(‘focusin’, function(e) {
if ($(e.target).closest(“.mce-window”).length) {
e.stopImmediatePropagation();
}
});