init
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
package com.ruoyi.cai.controller.admin.back;
|
package com.ruoyi.cai.controller.admin;
|
||||||
|
|
||||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||||
@@ -81,16 +81,4 @@ public class GiftController extends BaseController {
|
|||||||
return toAjax(giftService.updateById(bo));
|
return toAjax(giftService.updateById(bo));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 删除礼物
|
|
||||||
*
|
|
||||||
* @param ids 主键串
|
|
||||||
*/
|
|
||||||
@SaCheckPermission("cai:gift:remove")
|
|
||||||
@Log(title = "礼物", businessType = BusinessType.DELETE)
|
|
||||||
@DeleteMapping("/{ids}")
|
|
||||||
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
|
||||||
@PathVariable Integer[] ids) {
|
|
||||||
return toAjax(giftService.removeBatchByIds(Arrays.asList(ids)));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.ruoyi.cai.controller.admin.back;
|
package com.ruoyi.cai.controller.admin;
|
||||||
|
|
||||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.ruoyi.cai.controller.admin.back;
|
package com.ruoyi.cai.controller.admin;
|
||||||
|
|
||||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||||
@@ -62,6 +62,7 @@ public class SettingAppController {
|
|||||||
@Log(title = "提现配置", businessType = BusinessType.OTHER, isSaveDb = false)
|
@Log(title = "提现配置", businessType = BusinessType.OTHER, isSaveDb = false)
|
||||||
public R<List<WithdrawExchange>> withdraw(){
|
public R<List<WithdrawExchange>> withdraw(){
|
||||||
List<WithdrawExchange> list = withdrawExchangeService.list(Wrappers.lambdaQuery(WithdrawExchange.class)
|
List<WithdrawExchange> list = withdrawExchangeService.list(Wrappers.lambdaQuery(WithdrawExchange.class)
|
||||||
|
.eq(WithdrawExchange::getStatus,0)
|
||||||
.orderByAsc(WithdrawExchange::getMoney));
|
.orderByAsc(WithdrawExchange::getMoney));
|
||||||
return R.ok(list);
|
return R.ok(list);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,11 +54,6 @@ public class Gift implements Serializable {
|
|||||||
*/
|
*/
|
||||||
@TableField("`desc`")
|
@TableField("`desc`")
|
||||||
private String desc;
|
private String desc;
|
||||||
/**
|
|
||||||
* 是否隐藏 0 不隐藏,可见 1 隐藏
|
|
||||||
*/
|
|
||||||
@TableField("`hide`")
|
|
||||||
private Integer hide;
|
|
||||||
/**
|
/**
|
||||||
* 排序
|
* 排序
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -37,4 +37,7 @@ public class WithdrawExchange implements Serializable {
|
|||||||
@Schema(description = "所需货币")
|
@Schema(description = "所需货币")
|
||||||
private Long coinNum;
|
private Long coinNum;
|
||||||
|
|
||||||
|
private Integer status;
|
||||||
|
private String remark;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -206,6 +206,7 @@ public class CurrentUserManager {
|
|||||||
bankcard.setType(1);
|
bankcard.setType(1);
|
||||||
bankcard.setBankCode("alipay");
|
bankcard.setBankCode("alipay");
|
||||||
bankcard.setBank("支付宝");
|
bankcard.setBank("支付宝");
|
||||||
|
bankcard.setUserId(LoginHelper.getUserId());
|
||||||
}
|
}
|
||||||
bankcard.setCardName(res.getCardName());
|
bankcard.setCardName(res.getCardName());
|
||||||
bankcard.setCardAccount(res.getCardAccount());
|
bankcard.setCardAccount(res.getCardAccount());
|
||||||
|
|||||||
Reference in New Issue
Block a user