优化:钱包表更换。

This commit is contained in:
2026-01-12 14:58:35 +08:00
parent bc0f052359
commit b22c9af6a6
7 changed files with 30 additions and 18 deletions

View File

@@ -43,7 +43,7 @@ class Decorate extends BaseCom
$data = [];
$reslut = model('Decorate')->get_decorate_detail($did);
//当前用户金币
$user_coin = db::name('user_wallet')->where(['user_id' => $this->uid])->value('coin');
$user_coin = db::name('user_wallet_coin')->where(['user_id' => $this->uid])->value('coin');
$data['user_info']['user_id'] = $this->uid;
$data['user_info']['user_coin'] = intval($user_coin);
$data['decorate'] = $reslut['data'];