mirror of
https://shylinux.com/x/icebergs
synced 2025-06-26 18:37:29 +08:00
opt some
This commit is contained in:
parent
56b8c16d4c
commit
8c571fdd2f
@ -62,8 +62,10 @@ func _share_local(m *ice.Message, arg ...string) {
|
||||
m.Option(ice.MSG_USERROLE, aaa.TECH)
|
||||
}
|
||||
m.Cmd(SPACE, m.Option(ice.POD), SPIDE, ice.DEV, SPIDE_RAW, MergeLink(m, SHARE_PROXY), SPIDE_PART, m.OptionSimple(ice.POD), nfs.PATH, p, nfs.SIZE, size, CACHE, cache.Format(ice.MOD_TIME), UPLOAD, "@"+p)
|
||||
if !m.Warn(!file.ExistsFile(pp), ice.ErrNotFound, pp) {
|
||||
if file.ExistsFile(pp) {
|
||||
m.RenderDownload(pp)
|
||||
} else {
|
||||
m.RenderDownload(p)
|
||||
}
|
||||
}
|
||||
func _share_proxy(m *ice.Message) {
|
||||
|
@ -19,7 +19,7 @@ const (
|
||||
|
||||
type alpha struct {
|
||||
ice.Zone
|
||||
field string `data:"word,translation,definition"`
|
||||
field string `data:"word,phonetic,translation,definition"`
|
||||
store string `data:"usr/local/export/"`
|
||||
fsize string `data:"300000"`
|
||||
limit string `data:"50000"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user