Commit 226640ae by 杨树贤
parents 05d42acf 0ffbc35b
Showing with 2 additions and 2 deletions
......@@ -82,10 +82,10 @@ class ExchangesTask extends Task
if(!$result)
throw new \Exception('手机号与金额无法充值');
return true;
//开始充值
$time = date('Ymd');
$OrderId = $this->data['user_id'].$time.'2';//用户ID拼接时间
$OrderId = $this->data['user_id'].$time;//用户ID拼接时间
$result = $RechargeModel->Recharge($UserInfo['mobile'] , $this->Exchange['amount'] , $OrderId);
if(!$result)
throw new \Exception('充值失败#'.$this->data['id']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment