1234567891011121314151617181920212223242526272829303132333435 |
- package system
- import (
- "fmt"
- "github.com/flipped-aurora/gin-vue-admin/server/core"
- "github.com/flipped-aurora/gin-vue-admin/server/global"
- "github.com/flipped-aurora/gin-vue-admin/server/initialize"
- "testing"
- )
- func TestName(t *testing.T) {
- //ssk:="4Iki42L+u5IYKcYABCDe/A=="
- //r:="K8yfw2N2JjgdoYwxSvTq39dKEYRruSftVIZHQQEAs9Kh3XRazd1wArh0kkvWKLvxySX/xLI68p973ea9f4cevYPeMENLX/6dFEyCbxv2dcZlKh8sFSi4rqDXuPf36Hayf024ek/35EylDt8n+XqqUfKv1RZePQYZuxThsQ92yba4FB4Nh2VHC7GFoIRQEkOBCq9sTqjX0IAVrUxhs0hz092+1AMZv+pptw9hjYv144/OIzmwxV97H9svAjVvqYbeWexlIocbAp7Z6+dmyHyQILpKFFgWlUE5vVZkDQAAeh+KcV//7aShZu+l7az1er3B5AOkNQ8UJX85Ux5wyCeduxbmOzGdViycrFQVa86r0cEGVFcNWmyGElUse5jzU3H+P/XMJ9AiZZ2ybvT3NrwgdBck49iulEXoWQKjczTGBIE="
- //vi:="gIEEvlb9cEjErJxZ5sflrw=="
- //phone , _ := weapp.DecryptMobile(ssk, r, vi)
- //fmt.Print(phone)
- global.GVA_VP = core.Viper() // 初始化Viper
- //global.GVA_LOG = core.Zap() // 初始化zap日志库
- global.GVA_DB = initialize.Gorm() // gorm连接数据库
- _, resysDictionaryDetail := dictionaryDetailService.GetSysDictionaryDetail(8)
- fmt.Printf("\t%v", resysDictionaryDetail)
- //f,_:=excelize.OpenFile("C:\\Users\\ice\\Documents\\WeChat Files\\zk1006\\FileStorage\\File\\2021-09\\21类.xlsx")
- //files := f.GetSheetList()
- //for _, sheet := range files {
- // rows,_:=f.GetRows(sheet)
- // fmt.Println(sheet)
- // for _, row := range rows {
- // for _, value := range row {
- // fmt.Printf("\t%s", strings.Replace(value, "\n", "", -1))
- // }
- // fmt.Println()
- // }
- // fmt.Println()
- //}
- }
|