sum("consumer_money"); } //商家 提供的总收益数 public function businessProfitTotal($businessCode) { return CouponBill::where("business_code",$businessCode)->sum("admin_money"); } }