添加校验支付密码功能

This commit is contained in:
wangxiaowei 2024-08-30 09:28:44 +08:00
parent fc5ca42b6a
commit 4e5d088064

@ -328,6 +328,11 @@ class User extends Api
public function checkPayPassword()
{
$post = $this->request->post();
$reult = UserLogic::checkPayPassword($post, $this->user_id);
$result = UserLogic::checkPayPassword($post, $this->user_id);
if ($result) {
return JsonServer::success();
}
return JsonServer::error();
}
}