|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- package md
-
- import (
- "applet/app/db/model"
- )
-
- const (
- InitO2OScanOrdModule = "{\"bg_img\":\"http://ossn.izhim.net/%E4%B8%AA%E6%80%A7%E5%8C%96%2F%E4%B8%AD%E9%97%B4%E9%A1%B5%E8%83%8C%E6%99%AF%E5%9B%BE-484448.png\",\"bg_img_url\":\"http://ossn.izhim.net/个性化/中间页背景图-484448.png\",\"logo\":\"\",\"logo_url\":\"\",\"down_btn_bg_color\":\"#FFFFF\",\"down_btn_font_color\":\"#333333\",\"down_btn_font\":\"进入小程序点餐/付款\"}"
- )
-
- type Store struct {
- P string `json:"p"`
- Size string `json:"size"`
- Name string `json:"name"`
- }
- type StoreGroup struct {
- model.User `xorm:"extends"`
- model.CommunityTeamStore `xorm:"extends"`
- }
- type StoreSave struct {
- Uid string `json:"uid"`
- AgentCommission string `json:"agent_commission"`
- }
-
- type StoreOrder struct {
- P string `json:"p"`
- Size string `json:"size"`
- Nickname string `json:"nickname"`
- Phone string `json:"phone"`
- StartTime string `json:"start_time"`
- EndTime string `json:"end_time"`
- Oid string `json:"oid"`
- StoreUid string `json:"store_uid"`
- StoreType string `json:"store_type"`
- StoreName string `json:"store_name"`
- ConfirmStartTime string `json:"confirm_start_time"`
- ConfirmEndTime string `json:"confirm_end_time"`
- }
- type StoreOrderTotal struct {
- StoreUid string `json:"store_uid"`
- }
- type StoreOrderDetail struct {
- Oid string `json:"oid"`
- }
-
- // Register is 注册 postbody
- type Register struct {
- Mobile string `json:"mobile"`
- Captcha string `json:"captcha"`
- Type string `json:"type"`
- Zone string `json:"zone"`
- PicCode string `json:"pic_code"`
- PicCodeId string `json:"pic_code_id"`
- }
- type CommunityTeamStore struct {
- Lat string `json:"lat" xorm:"default 0.000000 comment('纬度') DECIMAL(30,6)"`
- Lng string `json:"lng" xorm:"default 0.000000 comment('经度') DECIMAL(30,6)"`
- Address string `json:"address" xorm:"comment('详细地址') VARCHAR(255)"`
- WorkState string `json:"work_state" xorm:"default 0 comment('0营业中 1休息中') INT(1)"`
- Name string `json:"name" xorm:"VARCHAR(255)"`
- Province string `json:"province" xorm:"comment('省级的名称') VARCHAR(255)"`
- City string `json:"city" xorm:"comment('市级的名称') VARCHAR(255)"`
- District string `json:"district" xorm:"comment('县,区名称') VARCHAR(255)"`
- Timer string `json:"timer" xorm:"comment('') VARCHAR(255)"`
- Phone string `json:"phone" xorm:"comment('') VARCHAR(255)"`
- Logo string `json:"logo" xorm:"comment('') VARCHAR(255)"`
- ProvinceId string `json:"province_id" xorm:"comment('省级的名称') INT(11)"`
- CityId string `json:"city_id" xorm:"comment('市级的名称') INT(11)"`
- DistrictId string `json:"district_id" xorm:"comment('县,区名称') INT(11)"`
- }
- type ModuleByO2oCByScanOrdData struct {
- BgImg string `json:"bg_img"`
- BgImgUrl string `json:"bg_img_url"`
- Logo string `json:"logo"`
- LogoUrl string `json:"logo_url"`
- DownBtnBgColor string `json:"down_btn_bg_color"`
- DownBtnFontColor string `json:"down_btn_font_color"`
- DownBtnFont string `json:"down_btn_font"`
- }
|