You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							21 lines
						
					
					
						
							333 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							21 lines
						
					
					
						
							333 B
						
					
					
				
								<?php
							 | 
						|
								
							 | 
						|
								namespace App\Http\Controllers\Api;
							 | 
						|
								
							 | 
						|
								use App\Models\Agent;
							 | 
						|
								use App\Models\AgentSetting;
							 | 
						|
								use Illuminate\Support\Facades\DB;
							 | 
						|
								
							 | 
						|
								/**
							 | 
						|
								 * 仅用于测试
							 | 
						|
								 * Class TController
							 | 
						|
								 * @package App\Http\Controllers\Api
							 | 
						|
								 */
							 | 
						|
								class TestController
							 | 
						|
								{
							 | 
						|
									public function index()
							 | 
						|
									{
							 | 
						|
										//test
							 | 
						|
										return AgentSetting::val(1, 'earnest') ?? 198.88;
							 | 
						|
									}
							 | 
						|
								}
							 |