pcweb

package
v0.0.0-...-2ec961a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Date2Int

func Date2Int(htmlstr interface{}) interface{}

func Date2Local

func Date2Local(htmlstr interface{}) interface{}

func ISCheckbox

func ISCheckbox(code interface{}, qxz interface{}) interface{}

func Round

func Round(htmlstr interface{}, s int) interface{}

func Strtohtml

func Strtohtml(htmlstr interface{}) interface{}

Types

type Controller

type Controller struct {
	W            http.ResponseWriter
	R            *http.Request
	Tplname      string
	Data         map[string]interface{}
	Url_list     map[string]interface{}
	JsonData     map[string]interface{}
	Postdata     map[string]interface{}
	Body         []byte
	Site_name    string
	Api_url      string
	Get_url      string
	Masterdb     string
	Access_token string
	T_data       map[string]string
	F_data       []map[string]string
	Tokenname    string
	Jsonmsg      Json_msg
	Err_status   int
}

func (*Controller) Error_return

func (this *Controller) Error_return(msg string)

func (*Controller) MuitplRander

func (this *Controller) MuitplRander(arg ...string)

func (*Controller) Rander

func (this *Controller) Rander()

func (*Controller) Success_return

func (this *Controller) Success_return(msg string, data interface{})

type Json_msg

type Json_msg struct {
	Code   int         `json:"code"`
	Status int         `json:"status"`
	Msg    string      `json:"msg"`
	Data   interface{} `json:"data"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL