 |
|
Fishdrowned
V2EX member #103847, joined on 2015-03-11 13:43:40 +08:00
|
Fishdrowned's recent replies
80 和 443 这两个端口交给 nginx,让 nginx 做入口。你的应用监听其他端口,用 nginx 反代。
如何反代你可以自行 google/baidu
$res = "\\custom\\{$custom['module']}"::instance()->run();
Issue 的 Google 快照
aHR0cHM6Ly93ZWJjYWNoZS5nb29nbGV1c2VyY29udGVudC5jb20vc2VhcmNoP3E9Y2FjaGU6Mmg5VmRabjdMd1VKOmh0dHBzOi8vZ2l0aHViLmNvbS9Db3J5ZG9uYnl0ZS9qaWFtaW1hby9pc3N1ZXMvMysmY2Q9MiZobD1lbiZjdD1jbG5rJmdsPXVzJmxyPWxhbmdfZW4lN0NsYW5nX3poLUNOJTdDbGFuZ196aC1UVw==
不想验证手机,贴不了链接
bool test(List coders){
for coder in coders{
if coder.hasGF && !coder.girlFriend.isBeautiful{
return false;
}
}
return true;
}
bool test(List coders){
//程序员们的女朋友列表
List<girl> girls = [];
for coder in coders{
//如果该程序有女朋友,加到列表中
if coder.hasGF {
if !coder.girl_friend.is_beautiful {
return false;
}
}
}
//假设程序员们的女朋友都好看
return true;
}