15 lines
304 B
Go
15 lines
304 B
Go
package conf
|
|
|
|
import "github.com/beego/beego/v2/server/web"
|
|
|
|
type Config struct {
|
|
}
|
|
|
|
func (c *Config) GetMFCardSubmitUrl() (string, error) {
|
|
return web.AppConfig.String("mf::submit_card_url")
|
|
}
|
|
|
|
func (c *Config) GetMFCardQueryUrl() (string, error) {
|
|
return web.AppConfig.String("mf::query_card_url")
|
|
}
|