调整工具返回值
This commit is contained in:
@@ -23,6 +23,7 @@ class ToolsController extends Controller
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Notes: 发券
|
* Notes: 发券
|
||||||
|
*
|
||||||
* @Author: 玄尘
|
* @Author: 玄尘
|
||||||
* @Date : 2020/6/29 13:57
|
* @Date : 2020/6/29 13:57
|
||||||
* @param \Illuminate\Http\Request $request
|
* @param \Illuminate\Http\Request $request
|
||||||
@@ -60,6 +61,7 @@ class ToolsController extends Controller
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Notes: 查询
|
* Notes: 查询
|
||||||
|
*
|
||||||
* @Author: 玄尘
|
* @Author: 玄尘
|
||||||
* @Date : 2021/4/25 9:57
|
* @Date : 2021/4/25 9:57
|
||||||
* @param \Illuminate\Http\Request $request
|
* @param \Illuminate\Http\Request $request
|
||||||
@@ -95,6 +97,7 @@ class ToolsController extends Controller
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Notes: 卡券作废
|
* Notes: 卡券作废
|
||||||
|
*
|
||||||
* @Author: 玄尘
|
* @Author: 玄尘
|
||||||
* @Date : 2021/4/25 10:08
|
* @Date : 2021/4/25 10:08
|
||||||
* @param \Illuminate\Http\Request $request
|
* @param \Illuminate\Http\Request $request
|
||||||
@@ -128,6 +131,7 @@ class ToolsController extends Controller
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Notes: 核销
|
* Notes: 核销
|
||||||
|
*
|
||||||
* @Author: 玄尘
|
* @Author: 玄尘
|
||||||
* @Date : 2020/6/29 14:01
|
* @Date : 2020/6/29 14:01
|
||||||
*/
|
*/
|
||||||
@@ -170,6 +174,7 @@ class ToolsController extends Controller
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Notes: 总执行
|
* Notes: 总执行
|
||||||
|
*
|
||||||
* @Author: 玄尘
|
* @Author: 玄尘
|
||||||
* @Date : 2021/4/25 10:00
|
* @Date : 2021/4/25 10:00
|
||||||
* @param $data
|
* @param $data
|
||||||
@@ -186,6 +191,7 @@ class ToolsController extends Controller
|
|||||||
'getElapsedTime' => $this->getElapsedTime(),
|
'getElapsedTime' => $this->getElapsedTime(),
|
||||||
'getMemoryUsage' => $this->getMemoryUsage(),
|
'getMemoryUsage' => $this->getMemoryUsage(),
|
||||||
'ret' => $res,
|
'ret' => $res,
|
||||||
|
'api_input_data' => $this->api_input_data,
|
||||||
'raw_data' => $this->decode($res),
|
'raw_data' => $this->decode($res),
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -210,6 +216,7 @@ class ToolsController extends Controller
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Notes: 加密
|
* Notes: 加密
|
||||||
|
*
|
||||||
* @Author: 玄尘
|
* @Author: 玄尘
|
||||||
* @Date : 2021/4/25 9:46
|
* @Date : 2021/4/25 9:46
|
||||||
* @param $input
|
* @param $input
|
||||||
@@ -229,12 +236,13 @@ class ToolsController extends Controller
|
|||||||
'sign' => $sign,
|
'sign' => $sign,
|
||||||
'data' => $ascdata,
|
'data' => $ascdata,
|
||||||
];
|
];
|
||||||
|
$this->api_input_data = $data;
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notes: 解密
|
* Notes: 解密
|
||||||
|
*
|
||||||
* @Author: 玄尘
|
* @Author: 玄尘
|
||||||
* @Date : 2021/4/25 10:07
|
* @Date : 2021/4/25 10:07
|
||||||
* @param $res
|
* @param $res
|
||||||
@@ -254,6 +262,7 @@ class ToolsController extends Controller
|
|||||||
|
|
||||||
/***
|
/***
|
||||||
* Notes: 使用的内存
|
* Notes: 使用的内存
|
||||||
|
*
|
||||||
* @Author: 玄尘
|
* @Author: 玄尘
|
||||||
* @Date : 2021/4/25 9:45
|
* @Date : 2021/4/25 9:45
|
||||||
* @param int $precision
|
* @param int $precision
|
||||||
@@ -270,6 +279,7 @@ class ToolsController extends Controller
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Notes: 代码执行时间
|
* Notes: 代码执行时间
|
||||||
|
*
|
||||||
* @Author: 玄尘
|
* @Author: 玄尘
|
||||||
* @Date : 2021/4/25 9:45
|
* @Date : 2021/4/25 9:45
|
||||||
* @param int $decimals
|
* @param int $decimals
|
||||||
|
|||||||
Reference in New Issue
Block a user