package response
|
|
import (
|
"aps_crm/model"
|
)
|
|
type (
|
CaptchaResponse struct {
|
CaptchaId string `json:"captchaId"`
|
PicPath string `json:"picPath"`
|
CaptchaLength int `json:"captchaLength"`
|
OpenCaptcha bool `json:"openCaptcha"`
|
}
|
|
UserResponse struct {
|
User model.User `json:"user"`
|
}
|
|
LoginResponse struct {
|
User model.User `json:"user"`
|
Token string `json:"token"`
|
ExpiresAt int64 `json:"expiresAt"`
|
}
|
|
MenusResponse struct {
|
Menus []*model.Menu `json:"menus"`
|
}
|
|
MenuResponse struct {
|
Menu model.Menu `json:"menu"`
|
}
|
|
CountryResponse struct {
|
List []*model.Country `json:"list"`
|
}
|
|
ProvinceResponse struct {
|
List []*model.Province `json:"list"`
|
}
|
|
CityResponse struct {
|
List []*model.City `json:"list"`
|
}
|
|
RegionResponse struct {
|
List []*model.Region `json:"list"`
|
}
|
|
ContactResponse struct {
|
List []*model.ContactDetail `json:"list"`
|
}
|
|
ClientResponse struct {
|
List []*model.Client `json:"list"`
|
}
|
|
ClientStatusResponse struct {
|
List []*model.ClientStatus `json:"list"`
|
}
|
|
ClientTypeResponse struct {
|
List []*model.ClientType `json:"list"`
|
}
|
|
ClientOriginResponse struct {
|
List []*model.ClientOrigin `json:"list"`
|
}
|
|
ClientLevelResponse struct {
|
List []*model.ClientLevel `json:"list"`
|
}
|
|
IndustryResponse struct {
|
List []*model.Industry `json:"list"`
|
}
|
|
EnterpriseNatureResponse struct {
|
List []*model.EnterpriseNature `json:"list"`
|
}
|
|
RegisteredCapitalResponse struct {
|
List []*model.RegisteredCapital `json:"list"`
|
}
|
|
EnterpriseScaleResponse struct {
|
List []*model.EnterpriseScale `json:"list"`
|
}
|
|
SalesLeadsResponse struct {
|
List []*model.SalesLeads `json:"list"`
|
}
|
|
SalesSourceResponse struct {
|
List []*model.SalesSources `json:"list"`
|
}
|
|
FollowRecordResponse struct {
|
List []*model.FollowRecord `json:"list"`
|
}
|
|
SaleChanceResponse struct {
|
List []*model.SaleChance `json:"list"`
|
}
|
|
SaleStageResponse struct {
|
List []*model.SaleStage `json:"list"`
|
}
|
|
SaleTypeResponse struct {
|
List []*model.SaleType `json:"list"`
|
}
|
|
RegularCustomersResponse struct {
|
List []*model.RegularCustomers `json:"list"`
|
}
|
|
PossibilityResponse struct {
|
List []*model.Possibility `json:"list"`
|
}
|
|
StatusResponse struct {
|
List []*model.Status `json:"list"`
|
}
|
|
QuotationResponse struct {
|
List []*model.Quotation `json:"list"`
|
}
|
|
MasterOrderResponse struct {
|
List []*model.MasterOrder `json:"list"`
|
}
|
)
|