- ready to test jd callback.

This commit is contained in:
gazebo
2018-06-12 14:12:12 +08:00
parent 773135af89
commit a9f237506a
6 changed files with 444 additions and 96 deletions

View File

@@ -1,28 +1,8 @@
package models
// type CommonCallbackMsgFields struct {
// Id int
// Status int `orm:default(0)`
// Count int `orm:default(1)`
// CreatedAt time.Time `orm:"auto_now_add;type(datetime)"`
// UpdatedAt time.Time `orm:"auto_now;type(datetime)"`
// }
type OrderMsgResponse struct {
Code string
Msg string
Data string
}
type NewOrderMsg struct {
BillId string
StatusId string
Timestamp string
}
type Jdorder struct {
Id int
Code string `orm:"size(2)"`
Code string `orm:"size(8)"`
Msg string `orm:"size(100)"`
Data string `orm:"type(text)"`
Success int8