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.

26 lines
599 B
PHP

<?php
namespace App\Http\Controllers;
use App\Models\Profitsharing;
use App\Models\ProfitsharingActionLog;
use Illuminate\Http\Request;
class ProfitsharingActionLogController extends Controller
{
public function list()
{
Login::admin([], [17, 25]);
$hospital = $request->post('hospital');
if (Login::$info->hospital != 0) {
if ($hospital != Login::$info->hospital) {
Yo::error_echo(100000, ['机构/医院']);
}
}
$p = ProfitsharingActionLog::where('hospital', $hospital)->where('del', 2)->get();
return Yo::echo([
'list' => $p
]);
}
}