Documentation ¶
Index ¶
- Variables
- type Admin
- type Company
- type CreditType
- type Curl
- type Currency
- type Download
- type MySQL
- type Organization
- type PR
- func (pr *PR) Add(params *dto.PR, files *multipart.Form) *dto.ResultObject
- func (pr *PR) GetItem(search *dto.PrSearch, user *dto.Users) (*dto.ResultObject, *dto.PrListResult, *[]dto.PrDetail)
- func (pr *PR) GetList(search *dto.PrSearch, user *dto.Users) (*dto.ResultObject, *[]dto.GetList)
- func (pr PR) New() *PR
- func (pr *PR) SetCancel(u *dto.Users, id string) *dto.ResultObject
- type PayMethod
- type PrItem
- type Redis
- type Users
- type Zip
Constants ¶
This section is empty.
Variables ¶
View Source
var RO = libs.ResultObject{}.New()
RO 資料回傳物件
View Source
var TimeFormat = "2006-01-02 15:04:05"
TimeFormat 時間格式
Functions ¶
This section is empty.
Types ¶
type Admin ¶
type Admin struct{}
Admin 管理員頁面資料結構
func (*Admin) GetItem ¶
func (a *Admin) GetItem(search *dto.PrSearch) (*dto.ResultObject, *dto.PrListResult, *[]dto.PrDetail)
GetItem 取得請購單資料
type Company ¶
type Company struct{}
Company 廠商資料結構
func (*Company) GetCompany ¶
func (c *Company) GetCompany() (*dto.ResultObject, *[]dto.Company)
GetCompany 取得廠商資料
type CreditType ¶
type CreditType struct{}
CreditType 入帳類別資料結構
func (*CreditType) GetCreditType ¶
func (ct *CreditType) GetCreditType() (*dto.ResultObject, *[]dto.CreditType)
GetCreditType 取得入帳類別
type Currency ¶
type Currency struct{}
Currency 貨幣檔案資料結構
func (*Currency) GetCurrency ¶
func (c *Currency) GetCurrency() (*dto.ResultObject, *[]dto.Currency)
GetCurrency 取得貨幣資料
type Download ¶
type Download struct{}
Download 下載檔案資料結構
type Organization ¶
type Organization struct{}
Organization 單位資料結構
func (*Organization) GetOrganization ¶
func (o *Organization) GetOrganization() (*dto.ResultObject, *[]dto.Organization)
GetOrganization 取得單位資料
type PR ¶
type PR struct{}
PR 請購單資料結構
func (*PR) GetItem ¶
func (pr *PR) GetItem(search *dto.PrSearch, user *dto.Users) (*dto.ResultObject, *dto.PrListResult, *[]dto.PrDetail)
GetItem 取得請購單資料
type PayMethod ¶
type PayMethod struct{}
PayMethod 支付方式資料結構
func (*PayMethod) GetPayMethod ¶
func (pm *PayMethod) GetPayMethod() (*dto.ResultObject, *[]dto.PayMethod)
GetPayMethod 取得支付方式
type PrItem ¶
type PrItem struct{}
PrItem 應付項目資料結構
type Users ¶
type Users struct{}
Users 使用者相關資料結構
func (*Users) CheckLogin ¶
func (u *Users) CheckLogin(hash string) *dto.ResultObject
CheckLogin 檢查是否處於登入狀態
Click to show internal directories.
Click to hide internal directories.