This commit is contained in:
Jerry Yan 2020-11-17 22:52:37 +08:00
parent a9ececba5e
commit 56ac22e87b
3 changed files with 11 additions and 2 deletions

Binary file not shown.

View File

@ -1,8 +1,8 @@
<?php
$data['version'] = 93;
$data['version'] = 94;
$data['ios_must_update'] = 1; //是否强制更新,0不强制,1强制
$data['must_update'] = 1; //是否强制更新,0不强制,1强制
$data['apk_version'] = '2.4.3';
$data['apk_version'] = '2.4.4';
$data['apk_down_url'] = 'http://www.zgqlg.com.cn/H5436787D.wgt';
//$data['ios_version'] = '1.0.0';
$data['ios_appid'] = '1355322179';

View File

@ -47,6 +47,15 @@ class UserLevel extends Base
];
}
public function stats2()
{
$userId = get_my_id();
$goodsType = 3;
return [
'zgAmounts'=>Db::name('orders')->where(compact('userId','goodsType'))->sum('helpGetCount'),
];
}
/**
* TreeList
* @throws \think\db\exception\DataNotFoundException