瀏覽代碼

更新

master
huangjiajun 1 年之前
父節點
當前提交
5877f155a8
共有 1 個檔案被更改,包括 5 行新增5 行删除
  1. +5
    -5
      app/svc/platform/svc_withdrawal.go

+ 5
- 5
app/svc/platform/svc_withdrawal.go 查看文件

@@ -131,11 +131,11 @@ func WithdrawalDoing(c *gin.Context) {
masterListCfgDb.Set()
withdrawalBili := masterListCfgDb.MasterListCfgGetOneData(puid, "withdrawal_bili")
invoiceBili := masterListCfgDb.MasterListCfgGetOneData(puid, "invoice_bili")
withdrawalDay := masterListCfgDb.MasterListCfgGetOneData(puid, "withdrawal_day")
if time.Now().Day() != utils.StrToInt(withdrawalDay) && utils.StrToInt(withdrawalDay) > 0 {
e.OutErr(c, 400, e.NewErr(400, "每月"+withdrawalDay+"号提现"))
return
}
//withdrawalDay := masterListCfgDb.MasterListCfgGetOneData(puid, "withdrawal_day")
//if time.Now().Day() != utils.StrToInt(withdrawalDay) && utils.StrToInt(withdrawalDay) > 0 {
// e.OutErr(c, 400, e.NewErr(400, "每月"+withdrawalDay+"号提现"))
// return
//}
var fee float64 = 0
if utils.StrToFloat64(withdrawalBili) > 0 {
bili := utils.StrToFloat64(withdrawalBili) / 100


Loading…
取消
儲存