|
@@ -12,6 +12,7 @@ declare (strict_types=1);
|
|
|
|
|
|
namespace app\index\controller;
|
|
|
|
|
|
+use app\common\library\Log;
|
|
|
use app\index\model\Order as OrderModel;
|
|
|
use app\index\service\order\PaySuccess;
|
|
|
use app\index\service\User as UserService;
|
|
@@ -68,6 +69,7 @@ class Checkout extends Controller
|
|
|
public function submit(string $mode = 'buyNow'): Json
|
|
|
{
|
|
|
$userId = Session::get('user_id');
|
|
|
+ \think\facade\Log::info('submit:'.$userId);
|
|
|
if (empty($userId)) {
|
|
|
return $this->renderJson(config('status.not_logged'), 'Log in please!');
|
|
|
}
|