add mock order.
This commit is contained in:
@@ -52,10 +52,10 @@ func (StratModel) TableName() string {
|
||||
return "strat_model"
|
||||
}
|
||||
|
||||
func NewStratModel(key, code string) *StratModel {
|
||||
func NewStratModel(key, code string, ymd int) *StratModel {
|
||||
obj := StratModel{
|
||||
StratKey: key,
|
||||
Ymd: GetYmd(),
|
||||
Ymd: ymd,
|
||||
Code: code,
|
||||
}
|
||||
return &obj
|
||||
|
||||
Reference in New Issue
Block a user