refactor(withdraw): 移除微信提现特殊处理逻辑
- 删除了微信提现改为"小程序拉起收款确认页"的特殊处理代码 - 移除了支付类型为10时自动设置申请状态为20的逻辑 - 清理了相关的时间戳设置和条件判断代码
This commit is contained in:
@@ -92,14 +92,7 @@ public class ShopDealerWithdrawController extends BaseController {
|
||||
shopDealerWithdraw.setTenantId(tenantId);
|
||||
shopDealerWithdraw.setUserId(loginUser.getUserId());
|
||||
|
||||
// 微信提现改为“小程序拉起收款确认页”,无需后台审核;其余方式仍按待审核处理
|
||||
Integer payType = shopDealerWithdraw.getPayType();
|
||||
if (Integer.valueOf(10).equals(payType)) {
|
||||
shopDealerWithdraw.setApplyStatus(20);
|
||||
shopDealerWithdraw.setAuditTime(LocalDateTime.now());
|
||||
} else if (shopDealerWithdraw.getApplyStatus() == null) {
|
||||
shopDealerWithdraw.setApplyStatus(10);
|
||||
}
|
||||
|
||||
final ShopDealerUser dealerUser = shopDealerUserService.getByUserIdRel(loginUser.getUserId());
|
||||
if (dealerUser == null) {
|
||||
|
||||
Reference in New Issue
Block a user