mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 01:11:46 +08:00 
			
		
		
		
	update
This commit is contained in:
		| @@ -55,7 +55,7 @@ class InviteController extends Controller | ||||
|             (int)User::where('invite_user_id', $request->session()->get('id'))->count(), | ||||
|             //有效的佣金 | ||||
|             (int)Order::where('status', 3) | ||||
|                 ->where('commission_status', 1) | ||||
|                 ->where('commission_status', 2) | ||||
|                 ->where('invite_user_id', $request->session()->get('id')) | ||||
|                 ->sum('commission_balance'), | ||||
|             //确认中的佣金 | ||||
|   | ||||
| @@ -12,7 +12,7 @@ class NoticeController extends Controller | ||||
|     public function fetch(Request $request) | ||||
|     { | ||||
|         return response([ | ||||
|             'data' => Notice::orderBy('created_at', 'DESC')->first() | ||||
|             'data' => Notice::orderBy('created_at', 'DESC')->get() | ||||
|         ]); | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user