You've already forked qlg.tsgz.moe
乱丢
This commit is contained in:
@ -23,6 +23,7 @@ class Index extends Base{
|
||||
* 首页
|
||||
*/
|
||||
public function index(){
|
||||
echo 'hello';die;
|
||||
echo request()->ip();die;
|
||||
$m = new M();
|
||||
hook('mobileControllerIndexIndex',['getParams'=>input()]);
|
||||
|
0
hyhproject/app/controller/UserLevel.php
Normal file → Executable file
0
hyhproject/app/controller/UserLevel.php
Normal file → Executable file
@ -38,7 +38,7 @@ class Uservouchers extends Base{
|
||||
if(1 == $vouchersType || 2 == $vouchersType){
|
||||
$vouchersNames = [1=>'expectedProductNum',2=>'expectedCouponsNum'];
|
||||
$m->setTable('user_vouchers_notice');
|
||||
$list = $m->getSelect(['userId'=>$userId,$vouchersNames[$vouchersType]=>['neq',0],'isShow'=>1],$vouchersNames[$vouchersType].' num,remark,moneyType,createTime','id DESC');
|
||||
$list = $m->getSelect(['userId'=>$userId,$vouchersNames[$vouchersType]=>['>=',0.01],'isShow'=>1],$vouchersNames[$vouchersType].' num,remark,moneyType,createTime','id DESC');
|
||||
if(!empty($list['Rows'])){
|
||||
foreach ($list['Rows'] as &$v) {
|
||||
$v['createTime'] = date('Y-m-d H:i:s',$v['createTime']);
|
||||
|
Reference in New Issue
Block a user