|
|
|
@ -108,6 +108,9 @@ class ApiService extends BaseService |
|
|
|
if ($result['errorCode'] != '') { |
|
|
|
throw new ApiException($result['message']); |
|
|
|
} |
|
|
|
$this->userDao->update($userInfo['id'], [ |
|
|
|
'balance' => $currentUser['balance'] - $media['price_assign'] |
|
|
|
]); |
|
|
|
return [ |
|
|
|
'msg' => 'success' |
|
|
|
]; |
|
|
|
|