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.

25 lines
421 B

<?php
namespace app\service;
use app\model\OperationLog;
class LogService extends BaseService
{
public function __construct()
{
parent::__construct();
}
public function getLog($log_id, $type){
$where = [];
$where['type'] = $type;
$where['log_id'] = $log_id;
$result = (new OperationLog())->where($where)->select()->toArray();
return $result;
}
}