|
@@ -527,10 +527,6 @@ class WithdrawController extends Crud
|
|
|
foreach ($param['id'] as $k => $v) {
|
|
foreach ($param['id'] as $k => $v) {
|
|
|
Db::beginTransaction();
|
|
Db::beginTransaction();
|
|
|
try {
|
|
try {
|
|
|
- $system = Db::table('wa_system')->first();
|
|
|
|
|
- if (md5($param['operate_password']) != $system->operate_password) {
|
|
|
|
|
- throw new \Exception('密码填写错误!');
|
|
|
|
|
- }
|
|
|
|
|
$has = (clone $withdrawModel)->where('id', $v)->lock(true)->first();
|
|
$has = (clone $withdrawModel)->where('id', $v)->lock(true)->first();
|
|
|
if (empty($has)) {
|
|
if (empty($has)) {
|
|
|
throw new \Exception('编码为:【' . $v . '】订单不存在!');
|
|
throw new \Exception('编码为:【' . $v . '】订单不存在!');
|