This commit is contained in:
wanyongkang
2020-10-22 11:18:33 +08:00
parent 4d646a485e
commit d2fcd1e766
2 changed files with 16 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
* @Author: kangkang
* @Date: 2020-10-11 11:22:56
* @LastEditors: kangkang
* @LastEditTime: 2020-10-21 20:26:56
* @LastEditTime: 2020-10-22 10:08:42
*/
namespace app\order\controller;
@@ -161,4 +161,18 @@ class CashOutAdmin extends Controller
echo json_encode($data);
}
/**
* @description: 获取一条记录
* @param {*}
* @return {*}
*/
public function getOneInfo()
{
$data = json_decode(file_get_contents("php://input"), true);
$id = $data['id'];
$cash = new CashMoedl;
$info = $cash->getOne(['id' => $id]);
\result($info,'',30000);
}
}