fetch(); } /** * 显示资金记录ajax列表 */ public function merbilllist() { $where = parent::getMore([ ['start_time', ''], ['end_time', ''], ['limit', 20], ['page', 1], ['category', 'now_money'], ]); $where['mer_id'] = $this->merchantId; return Json::successlayui(InstitutionBill::getBillList($where)); } /** *保存资金监控的excel表格 */ public function save_mer_bell_export() { $where = parent::getMore([ ['start_time', ''], ['end_time', ''], ['category', 'now_money'], ]); $where['mer_id'] = $this->merchantId; InstitutionBill::SaveExport($where); } /**金币流水 * @return mixed * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\ModelNotFoundException * @throws \think\exception\DbException */ public function mer_gold_bill() { return $this->fetch('mer_gold_bill'); } /**订单分成 * @return mixed * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\ModelNotFoundException * @throws \think\exception\DbException */ public function merOrderBill() { return $this->fetch('mer_order_bill'); } /** * 订单分成列表 */ public function merOrderBillList() { $where = parent::getMore([ ['start_time', ''], ['end_time', ''], ['nickname', ''], ['limit', 20], ['page', 1], ]); $where['mer_id'] = $this->merchantId; return Json::successlayui(InstitutionFlowingWater::getBillList($where)); } /** *保存资金监控的excel表格 */ public function save_mer_order_bell_export() { $where = parent::getMore([ ['start_time', ''], ['end_time', ''], ['nickname', ''], ]); $where['mer_id'] = $this->merchantId; InstitutionFlowingWater::SaveExport($where); } }