转盘礼物发送
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
namespace app\api\model;
|
namespace app\api\model;
|
||||||
use app\common\controller\Push;
|
use app\common\controller\Push;
|
||||||
use think\Cache;
|
use think\Cache;
|
||||||
|
use think\Log;
|
||||||
use think\Model;
|
use think\Model;
|
||||||
use think\Db;
|
use think\Db;
|
||||||
use think\Session;
|
use think\Session;
|
||||||
@@ -670,6 +671,7 @@ class BlindBoxTurntableGiftDraw extends Model
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (isset($res) && $res['code'] != 1) {
|
if (isset($res) && $res['code'] != 1) {
|
||||||
|
Log::record('发送礼物失败: ' . $res['msg'],"info");
|
||||||
return ['code' => 0, 'msg' => $res['msg'], 'data' => null];
|
return ['code' => 0, 'msg' => $res['msg'], 'data' => null];
|
||||||
// \think\facade\Log::error('发送礼物失败: ' . $res['msg']);
|
// \think\facade\Log::error('发送礼物失败: ' . $res['msg']);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user