feat(config): 添加七牛云配置支持

- 在配置结构体中添加Qiniu字段用于七牛云配置
- 添加七牛云相关配置参数(AccessKey, SecretKey, Bucket, CDN)
- 更新配置初始化逻辑以支持七牛云配置项

feat(login): 集成七牛云SDK并实现文件列表获取

- 添加七牛云SDK依赖(github.com/qiniu/go-sdk/v7)
- 创建BucketManager用于文件管理操作
- 实
This commit is contained in:
2026-01-06 23:25:49 +08:00
parent 80e8d56d9e
commit b801b069bc
8 changed files with 134 additions and 15 deletions

View File

@@ -1,7 +1,6 @@
package effect
import (
"blazing/logic/service/fight/action"
"blazing/logic/service/fight/input"
)
@@ -11,14 +10,14 @@ type NewSel41 struct {
NewSel0
}
func (e *NewSel41) ComparePre(fattack *action.SelectSkillAction, sattack *action.SelectSkillAction) bool {
func (e *NewSel41) Skill_Use_ex() bool {
if e.ID().GetCatchTime() != e.Ctx().Our.CurrentPet.Info.CatchTime {
return true
}
if sattack == nil { //说明有一方放弃出手,如果自身被控那也不能回血
if e.Ctx().SkillEntity == nil {
return true
}
e.Ctx().Our.Heal(e.Ctx().Our, nil, e.Args()[0])
return true
}