You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.2 KiB
PHP

<?php
namespace App\Http\Controllers;
use App\Http\Controllers\API\AspNetZhuanController;
use App\Http\Controllers\API\PEISApiController;
use App\Services\OrderService;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class TestController extends Controller
{
public function DBtest(){
// echo DB::table('users')->count();
$order= new OrderService();
dd($order->DepartmentItemCount(173));
$aspnet=new AspNetZhuanController();
// $temp_list=[];
// $nmr=$aspnet::GetNmrList(['yyid'=>6,'data'=>['2024-10-25']],uniqid());
//
// //获取每日数量
// foreach($nmr as $k=>$v){
// $temp_list[]=[
// 'date'=>$k,
// 'count'=>count($v)
// ];
// }
// $peis = new PEISApiController();
// dd($peis::Get($peis::Api('报告时间计算',"2403020020"),"111111","报告时间计算"));
$data=[
'action'=>4,
'ghzid'=>'5a798c097bc64bd79c22050175e6236a',
'dzjid'=>'994924890348203254993',
'hxbz'=>"H5撤销核销",
'yyid'=>6
];
$aspnet::YouHuiQuan($data);
}
public function ApiTest(){
return \Yz::Return(true, '获取成功');
}
}