\app\common\controllerOperationLog

Summary

Methods
Properties
Constants
OperSuccess()
OperError()
No public properties found
No constants found
No protected methods found
$oper_type
N/A
No private methods found
No private properties found
N/A

Properties

$oper_type

$oper_type : int[]

操作类型

Type

int[]

Methods

OperSuccess()

OperSuccess( $param,  $options, string  $oper_type = 'O',  $json_result) : mixed

操作成功日志

Parameters

$param

请求参数

$options

自定义参数

string $oper_type

操作类型

$json_result

返回参数

Throws

\think\db\exception\DataNotFoundException
\think\db\exception\ModelNotFoundException
\think\exception\DbException

Returns

mixed —

OperError()

OperError( $param,  $options, string  $oper_type = 'O',  $json_result,  $error_msg = '') : mixed

操作失败日志

Parameters

$param

请求参数

$options

自定义参数

string $oper_type

操作类型

$json_result

返回参数

$error_msg

错误消息

Throws

\think\db\exception\DataNotFoundException
\think\db\exception\ModelNotFoundException
\think\exception\DbException

Returns

mixed —