setter
							parent
							
								
									25f5e11caa
								
							
						
					
					
						commit
						e9f4cfb6d1
					
				|  | @ -181,14 +181,12 @@ class Consumer extends Base | |||
|      * */ | ||||
|     public function advertisement() | ||||
|     { | ||||
| 
 | ||||
|         $repo       = OperationRepository::getInstance(); | ||||
| 
 | ||||
|         $orders     = ['sort'=>'asc']; | ||||
|         $page       = input("page/d",1); | ||||
|         $size       = input("size/d",1000); | ||||
| 
 | ||||
|         $couponId   = input("coupon_id/d",0); | ||||
|          | ||||
|         $coupon = CouponRepository::getInstance()->findById($couponId, [], function ($q) { | ||||
|             return $q->with([ | ||||
|                 "business" => function ($q) { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue