location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}
$res = M('member')
->table('__MEMBER__ as a')
->join('__ORDER__ as b')
->field('a.id,b.order_sn,count(b.id) as total')
->where('b.receive_member_id = a.id')
->group('a.id')
->order('total desc')
->limit($page->firstRow, $page->listRows)
->select();
表member...
做好的项目在移植到阿里liunx服务器,然后想测试一下app的功能,就试着注册一个帐号,可以发送验证码,手机也能收到,但是提交确定时总是提示验证码不对。于是我就去查了一下是不是服务端session没有保存到mobile_code,果然是。调试了半天才发现thinkphp的Runtime在做git版本提交时自动忽略了。然后liunx上又...