master
wangxinglong 2021-12-20 15:02:52 +08:00
parent 67c24e229e
commit 80b257f06d
2 changed files with 2 additions and 1 deletions

View File

@ -403,6 +403,7 @@ class Coupon extends Base
"coupon_main_id" => $coupon->couponMain->id,
"coupon_id" => $coupon->id,
"user_code" => $account->user_code,
"business_code" => $business->code,
"agency_code" => $business->agency_code,
"commission_agency" => $coupon->couponMain->commission_agency,
"commission_admin" => $coupon->couponMain->commission_admin,

View File

@ -18,7 +18,7 @@ class Bill extends Base
public function index()
{
$startTime = input("start_time/s", date("Y-m-d H:i:s", strtotime(date("Y-m-d") . " -1 month")));
$endTime = input("end_time/s", date("Y-m-d 00:00:00"));
$endTime = input("end_time/s", date("Y-m-d 23:59:59"));
if ($this->request->isPost()) {
$repo = BillRepository::getInstance();
$keyword = $this->request->param('keyword/s', '');