平台币 角色信息未上传

master
tpingzhang 5 years ago
parent acc22b16f3
commit 51eecec738

@ -80,7 +80,6 @@ class ExchangeController extends BaseController{
} }
} }
}
$role = M("user_play_info", "tab_")->where([ $role = M("user_play_info", "tab_")->where([
'user_id' => $request['user_id'], 'user_id' => $request['user_id'],
@ -90,6 +89,7 @@ class ExchangeController extends BaseController{
if (!$role || !$role['role_id']) { if (!$role || !$role['role_id']) {
$this->set_message(0,"fail","未上传角色,不允许充值"/* .M("user_play_info", "tab_")->_sql() */); $this->set_message(0,"fail","未上传角色,不允许充值"/* .M("user_play_info", "tab_")->_sql() */);
} }
}
$prefix = $request['code'] == 1 ? "SP_" : "PF_"; $prefix = $request['code'] == 1 ? "SP_" : "PF_";
$out_trade_no = $prefix.date('Ymd').date('His').sp_random_string(4); $out_trade_no = $prefix.date('Ymd').date('His').sp_random_string(4);

Loading…
Cancel
Save