|
|
@ -12,7 +12,7 @@ declare (strict_types=1); |
|
|
|
|
|
|
|
|
|
|
|
namespace app\common\model\user; |
|
|
|
namespace app\common\model\user; |
|
|
|
|
|
|
|
|
|
|
|
use app\api\model\recharge\Order; |
|
|
|
use app\api\model\recharge\Order as OrderModel; |
|
|
|
use cores\BaseModel; |
|
|
|
use cores\BaseModel; |
|
|
|
use think\model\relation\BelongsTo; |
|
|
|
use think\model\relation\BelongsTo; |
|
|
|
use app\common\enum\user\balanceLog\Scene as SceneEnum; |
|
|
|
use app\common\enum\user\balanceLog\Scene as SceneEnum; |
|
|
@ -53,7 +53,7 @@ class BalanceLog extends BaseModel |
|
|
|
{ |
|
|
|
{ |
|
|
|
$model = new static; |
|
|
|
$model = new static; |
|
|
|
if($scene==10){ |
|
|
|
if($scene==10){ |
|
|
|
$REmodel = Order::getPayDetail((string)$data['order_no']); |
|
|
|
$REmodel = OrderModel::getPayDetail((string)$data['order_no']); |
|
|
|
$storeId = 12312; |
|
|
|
$storeId = 12312; |
|
|
|
} |
|
|
|
} |
|
|
|
$model->save(array_merge([ |
|
|
|
$model->save(array_merge([ |
|
|
|