feat(dealer): 新增提现审核与收益明细功能
- 新增提现审核页面,支持审核通过、驳回及打款确认操作 - 新增收款人实名认证校验逻辑- 新增收益明细页面,展示各类资金流动记录 - 新增新注册奖励资金流水类型 - 完善资金流水详情页面字段展示逻辑 - 新增银行账户管理入口-优化部分页面导航配置与权限控制
This commit is contained in:
@@ -11,6 +11,7 @@ import {User} from "@/api/system/user/model";
|
||||
import {getStoredInviteParams, handleInviteRelation} from "@/utils/invite";
|
||||
import {addShopDealerUser} from "@/api/shop/shopDealerUser";
|
||||
import {listUserRole, updateUserRole} from "@/api/system/userRole";
|
||||
import {addShopDealerCapital} from "@/api/shop/shopDealerCapital";
|
||||
|
||||
// 类型定义
|
||||
interface ChooseAvatarEvent {
|
||||
@@ -202,6 +203,14 @@ const AddUserAddress = () => {
|
||||
})
|
||||
}
|
||||
|
||||
// 获得50元奖励
|
||||
await addShopDealerCapital({
|
||||
userId: user?.userId,
|
||||
flowType: 50,
|
||||
money: '50',
|
||||
toUserId: user?.refereeId,
|
||||
comments: '新人注册奖励'
|
||||
})
|
||||
|
||||
Taro.showToast({
|
||||
title: `注册成功`,
|
||||
|
||||
Reference in New Issue
Block a user