信呼OA版本v2.3.9

This commit is contained in:
雨中磐石
2022-09-05 15:58:07 +08:00
parent e3fcd913e3
commit c09f4dba40
29 changed files with 657 additions and 57 deletions

View File

@@ -168,9 +168,9 @@ function returnerror($msg='', $code=201, $carr=array())
/**
* 返回正确信息
*/
function returnsuccess($data=array())
function returnsuccess($data=array(),$msg='')
{
$carr['msg'] = '';
$carr['msg'] = $msg;
$carr['code'] = 200;
$carr['success'] = true;
$carr['data'] = $data;