You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
322 B
Go

package model
import (
"joybuywork/internal/plugins/jsonm"
"joybuywork/internal/repository/mtype"
)
func (s *FissionGashaponLog) GetVal() (val mtype.LotteryLogVal) {
_ = jsonm.StrUnmarshal(s.Val, &val)
return
}
func (s *FissionGashaponLog) SetVal(val mtype.LotteryLogVal) {
s.Val, _ = jsonm.MarshalToString(val)
}