政企超链接开始集成

This commit is contained in:
hoteas 2022-03-03 21:23:57 +08:00
parent bc329be03b
commit 6d9f89a1d4
98 changed files with 379 additions and 117 deletions

View File

@ -535,14 +535,19 @@ func Init(config string) Application {
appIns.SetCache()
appIns.MakeCode = &code.MakeCode{}
codeConfig := appIns.Config.GetMap("codeConfig")
appIns.MakeCodeRouter = Router{}
if codeConfig != nil {
for k, _ := range codeConfig {
if appIns.Config.GetInt("mode") == 2 {
appIns.MakeCode.Db2JSON(k, codeConfig.GetString(k), &appIns.Db, true)
appIns.MakeCodeRouter[k] = Proj{}
} else if appIns.Config.GetInt("mode") == 3 {
appIns.MakeCode.Db2JSON(k, codeConfig.GetString(k), &appIns.Db, false)
appIns.MakeCodeRouter[k] = Proj{}
} else {
appIns.MakeCode.Db2JSON(k, codeConfig.GetString(k), nil, false)
appIns.MakeCodeRouter[k] = Proj{}
}
//接入动态代码层
if appIns.Router == nil {
@ -621,6 +626,9 @@ func SetSqliteDB(appIns *Application, config Map) {
func setMakeCodeLintener(name string, appIns *Application) {
appIns.SetConnectListener(func(context *Context) bool {
if len(context.RouterString) < 2 || appIns.MakeCodeRouter[context.RouterString[0]] == nil {
return true
}
if len(context.RouterString) > 1 && context.RouterString[0] == name {
if context.RouterString[1] == "hotime" && context.RouterString[2] == "login" {
return true

View File

@ -13,6 +13,31 @@ var credential = common.NewCredential(
"GNXgjdN4czA9ya0FNMApVJzTmsmU0KSN",
)
func OCRCOMPANY(base64Str string) string {
cpf := profile.NewClientProfile()
cpf.HttpProfile.Endpoint = "ocr.tencentcloudapi.com"
client, _ := ocr.NewClient(credential, "ap-guangzhou", cpf)
request := ocr.NewBizLicenseOCRRequest()
//request.ImageUrl = common.StringPtr("https://img0.baidu.com/it/u=2041013181,3227632688&fm=26&fmt=auto")
request.ImageBase64 = common.StringPtr(base64Str)
response, err := client.BizLicenseOCR(request)
if _, ok := err.(*errors.TencentCloudSDKError); ok {
fmt.Println("An API error has returned: %s", err)
return ""
}
if err != nil {
fmt.Println("An API error has returned: %s", err)
return ""
}
//fmt.Printf("%s", response.ToJsonString())
return response.ToJsonString()
}
func OCR(base64Str string) string {
cpf := profile.NewClientProfile()

19
example/app/category.go Normal file
View File

@ -0,0 +1,19 @@
package app
import (
. "../../../hotime"
. "../../../hotime/common"
//"strings"
)
var Category = Ctr{
//获取列表
"list": func(this *Context) {
re := this.Db.Select("category", "*", Map{"parent_id": 1})
this.Display(0, re)
},
}

View File

@ -24,6 +24,8 @@ var Project = Proj{
"user": User,
"wechat": Wechat,
"question": Question,
"category": Category,
"sms": Sms,
}
var weixin *wechat.Wechat //微信登录实例
//var appIns = Application{}

33
example/app/sms.go Normal file
View File

@ -0,0 +1,33 @@
package app
import (
. "../../../hotime"
"../../dri/ddsms"
)
var Sms = Ctr{
//只允许微信验证过的或者登录成功的发送短信
"send": func(this *Context) {
//if this.Session("uid").Data == nil && this.Session("wechatInfo").Data == nil {
// this.Display(2, "没有授权")
// return
//}
//if len(this.Req.FormValue("token")) != 32 {
// this.Display(2, "没有授权")
// return
//}
phone := this.Req.FormValue("phone")
if len(phone) < 11 {
this.Display(3, "手机号格式错误")
return
}
code := getCode()
this.Session("phone", phone)
this.Session("code", code)
ddsms.DefaultDDY.SendYZM(phone, this.Config.GetString("smsLogin"), map[string]string{"code": code})
this.Display(0, "发送成功")
},
}

View File

@ -4,7 +4,9 @@ import (
. "../../../hotime"
. "../../../hotime/common"
"../../../hotime/dri/download"
"../../../hotime/dri/tencent"
"encoding/base64"
"fmt"
"io/ioutil"
"os"
"strings"
@ -13,27 +15,40 @@ import (
)
var User = Ctr{
"token": func(this *Context) {
this.Display(0, this.SessionId)
},
"test": func(this *Context) {
this.Session("uid", 1)
fmt.Println(this.SessionId)
//this.Session("user_id", 1)
wechat := this.Db.Get("wechat", "*")
this.Session("wechatInfo", wechat)
this.Display(0, "开始测试")
},
//获取个人信息
"info": func(this *Context) {
//this.Session("user_id", 1)
//wechat:=this.Db.Get("wechat","*")
//this.Session("wechatInfo",wechat)
if this.Session("user_id").Data == nil {
this.Display(2, "还没有登录")
return
}
if this.Session("user_id").Data == nil {
if this.Session("wechatInfo").Data != nil {
this.Display(6, "需要认证")
return
}
this.Display(2, "还没有登录")
return
}
user := this.Db.Get("user", "*", Map{"id": this.Session("user_id").Data})
if user == nil {
fmt.Println(this.Session("user_id").Data, ":fsdfsd")
this.Display(4, "找不到该用户")
return
}
org := this.Db.Get("org", "contact", Map{"id": user.GetCeilInt("org_id")})
user["org"] = org
company := this.Db.Get("company", "id,name,status", Map{"id": user.GetCeilInt("company_id")})
user["company"] = company
@ -77,48 +92,70 @@ var User = Ctr{
//身份认证
"auth": func(this *Context) {
//if this.Session("wechatInfo").Data == nil {
// this.Display(2, "尚未登录")
wechat := this.Session("wechatInfo").ToMap()
if wechat == nil {
if this.Session("user_id").Data == nil {
this.Display(6, "还没有登录")
return
}
wechat := this.Db.Get("wechat", "*", Map{"user_id": this.Session("user_id").ToCeilInt()})
if wechat == nil {
this.Display(6, "没有微信登录")
return
}
}
if this.Session("code").Data == nil {
this.Display(8, "验证码没有获取")
return
}
//orgId := ObjToInt(this.Req.FormValue("org_id"))
////questionCompanyId:=ObjToInt(this.Req.FormValue("id"))
//if orgId == 0 {
// this.Display(3, "没有选择组织")
// return
//}
//if this.Session("code").Data == nil {
// this.Display(8, "验证码没有获取")
// return
//}
orgId := ObjToInt(this.Req.FormValue("org_id"))
//questionCompanyId:=ObjToInt(this.Req.FormValue("id"))
if orgId == 0 {
this.Display(3, "没有选择组织")
return
}
name := this.Req.FormValue("name")
phone := this.Req.FormValue("phone")
idcard := this.Req.FormValue("idcard")
idcardFrontImg := this.Req.FormValue("idcard_front_img")
idcardBackImg := this.Req.FormValue("idcard_back_img")
code := this.Req.FormValue("code")
authImg := this.Req.FormValue("auth_img")
categoryId := ObjToInt(this.Req.FormValue("category_id"))
companyImg := this.Req.FormValue("company_img")
companyName := this.Req.FormValue("company_name")
companySn := this.Req.FormValue("company_sn")
if name == "" || phone == "" || idcard == "" || idcardFrontImg == "" || idcardBackImg == "" || companyImg == "" || companyName == "" || companySn == "" {
if code != this.Session("code").ToStr() {
this.Display(8, "验证码错误")
return
}
if name == "" || phone == "" || authImg == "" || categoryId == 0 || companyImg == "" || companyName == "" || companySn == "" {
this.Display(3, "参数异常")
return
}
t := time.Now().Unix()
orgId := wechat.GetInt("org_id")
company := this.Db.Get("company", "id", Map{"sn": companySn})
if company == nil {
company = Map{
"name": companyName,
"sn": companySn,
"create_time": t,
"org_id": orgId,
"category_id": categoryId,
//"org_id": orgId,
"modify_time": t,
"status": 1,
"state": 0,
"img": companyImg,
}
if wechat.GetInt("status") == 0 && orgId != 0 {
company["org_id"] = orgId
}
company["id"] = this.Db.Insert("company", company)
@ -130,9 +167,11 @@ var User = Ctr{
company["status"] = 1
company["modify_time"] = t
company["img"] = companyImg
company["org_id"] = orgId
company["name"] = companyName
//company["img"] = companyImg
company["img"] = companyImg
if wechat.GetInt("status") == 0 && orgId != 0 {
company["org_id"] = orgId
}
re := this.Db.Update("company", company, Map{"id": company.GetCeilInt("id")})
if re == 0 {
this.Display(4, "无法更新企业")
@ -140,18 +179,21 @@ var User = Ctr{
}
}
userInfo := this.Session("wechatInfo").ToMap()
user := this.Db.Get("user", "*", Map{"phone": phone})
data := Map{"name": name,
"phone": phone,
"org_id": orgId,
"idcard": idcard,
"idcard_front_img": idcardFrontImg,
"company_id": company.GetCeilInt("id"),
"idcard_back_img": idcardBackImg,
"modify_time": t,
"status": 1,
"company_img": companyImg}
"phone": phone,
//"org_id": orgId,
//"idcard": idcard,
//"idcard_front_img": idcardFrontImg,
"company_id": company.GetCeilInt("id"),
//"idcard_back_img": idcardBackImg,
"auth_img": authImg,
"modify_time": t,
"status": 1,
"company_img": companyImg}
if wechat.GetInt("status") == 0 && orgId != 0 {
data["org_id"] = orgId
}
//用户已经注册则更新
if user != nil {
@ -162,11 +204,11 @@ var User = Ctr{
}
} else {
data["create_time"] = t
if userInfo != nil {
data["nickname"] = userInfo.GetString("nickname")
if wechat != nil {
data["nickname"] = wechat.GetString("nickname")
path := time.Now().Format(this.Config.GetString("imgPath"))
filename := Md5(ObjToStr(t)) + ".jpg"
down := download.Down(userInfo.GetString("avatar"), this.Config.GetString("tpt")+"/"+path, filename)
down := download.Down(wechat.GetString("avatar"), this.Config.GetString("tpt")+"/"+path, filename)
if down {
data["avatar"] = path + filename
}
@ -178,23 +220,9 @@ var User = Ctr{
return
}
}
if userInfo != nil {
delete(userInfo, "avatar")
delete(userInfo, "nickname")
userInfo["modify_time"] = t
userInfo["user_id"] = user.GetCeilInt("id")
wechatDb := this.Db.Get("wechat", "*", Map{"openid": userInfo.GetString("openid")})
this.Db.Update("wechat", Map{"status": 1, "user_id": user.GetCeilInt("id")}, Map{"id": wechat.GetInt("id")})
if wechatDb != nil {
this.Db.Update("wechat", userInfo, Map{"id": wechatDb.GetCeilInt("id")})
//userInfo["wid"]=wechatDb.GetCeilInt("wid")
} else {
userInfo["create_time"] = t
userInfo["id"] = this.Db.Insert("wechat", userInfo)
}
}
this.Session("user_id", user.GetCeilInt("id"))
this.Display(0, this.SessionId)
@ -235,11 +263,14 @@ var User = Ctr{
"upload": func(this *Context) {
file := this.Req.FormValue("file")
if len(file) < 100 {
this.Display(3, "图片上传错误")
return
}
//fmt.Println(uimg)
btes, e := base64.StdEncoding.DecodeString(file[strings.Index(file, ",")+1:]) //成图片文件并把文件写入到buffer
//btes, e := base64.StdEncoding.DecodeString(file) //成图片文件并把文件写入到buffer
if e != nil {
@ -258,6 +289,34 @@ var User = Ctr{
this.Display(3, "图片保存失败")
return
}
tp := this.Req.FormValue("type")
if tp == "company" {
data := tencent.OCRCOMPANY(file)
c := ObjToMap(data)
if c != nil {
c = c.GetMap("Response")
c["url"] = filePath
} else {
c = Map{"url": filePath}
}
this.Display(0, c)
return
}
if tp == "common" {
data := tencent.OCR(file)
c := ObjToMap(data)
if c != nil {
c = c.GetMap("Response")
c["url"] = filePath
} else {
c = Map{"url": filePath}
}
this.Display(0, c)
return
}
this.Display(0, filePath)
},
//"upload": func(this *Context) {
@ -307,37 +366,24 @@ var User = Ctr{
//
//},
//更新个人资料
//"update": func(this *Context) {
// if this.Req.Form["unickname"] == nil ||
// this.Req.Form["uemail"] == nil ||
// this.Req.Form["usex"] == nil ||
// this.Req.Form["ubirthday"] == nil ||
// this.Req.Form["ubelieve"] == nil ||
// this.Req.Form["utaste"] == nil ||
// this.Req.Form["uname"] == nil ||
// this.Req.Form["uaddreman"] == nil ||
// this.Req.Form["uaddremobile"] == nil ||
// this.Req.Form["uaddre"] == nil ||
// this.Req.Form["uidcard"] == nil {
// this.Display(3, "参数不足")
// }
// //更新代码
// update := Map{
// "unickname": this.Req.FormValue("unickname"),
// "uemail": this.Req.FormValue("uemail"),
// "usex": this.Req.FormValue("usex"),
// "ubelieve": this.Req.FormValue("ubelieve"),
// "utaste": this.Req.FormValue("utaste"),
// "uaddreman": this.Req.FormValue("uaddreman"),
// "uidcard": this.Req.FormValue("uidcard"),
// "ubirthday": this.Req.FormValue("ubirthday"),
// "uaddremobile": this.Req.FormValue("uaddremobile"),
// "uaddre": this.Req.FormValue("uaddre"),
// "uname": this.Req.FormValue("uname"),
// }
//
// this.Db.Update("user", update, Map{"uid": this.Session("user_id").Data})
// this.Display(0, "ok")
//
//},
"update": func(this *Context) {
if this.Req.Form["email"] == nil ||
this.Req.Form["name"] == nil ||
//this.Req.Form["phone"] == nil ||
this.Req.Form["avatar"] == nil ||
this.Req.Form["idcard"] == nil {
this.Display(3, "参数不足")
}
//更新代码
update := Map{
"email": this.Req.FormValue("email"),
"idcard": this.Req.FormValue("idcard"),
"avatar": this.Req.FormValue("avatar"),
"name": this.Req.FormValue("name"),
}
this.Db.Update("user", update, Map{"id": this.Session("user_id").Data})
this.Display(0, "ok")
},
}

View File

@ -4,6 +4,7 @@ import (
. "../../../hotime"
. "../../../hotime/cache"
. "../../../hotime/common"
"fmt"
"github.com/silenceper/wechat"
"github.com/silenceper/wechat/cache"
"time"
@ -80,7 +81,7 @@ var Wechat = Ctr{
//微信注册0已经完整的注册了1还没有注册
"code": func(this *Context) {
//orgId:=ObjToInt(this.Req.FormValue("org_id"))
orgId := ObjToInt(this.Req.FormValue("org_id"))
//if orgId==0{
// this.Display(3, "缺少组织id")
// return
@ -96,7 +97,7 @@ var Wechat = Ctr{
//判断用户是否已经注册
user := this.Db.Get("wechat", Map{"[><]user": "wechat.user_id=user.id"}, "user.id,user.state", Map{"openid": resToken.OpenID})
if user != nil && user.GetCeilInt("state") == 0 {
if user != nil && user.GetCeilInt("id") != 0 && user.GetCeilInt("state") == 0 {
this.Session("user_id", user.Get("id"))
this.Display(0, Map{"type": 0, "token": this.SessionId})
return
@ -116,8 +117,12 @@ var Wechat = Ctr{
"retoken": resToken.RefreshToken,
"appid": this.Config.GetString("wechatAppID"),
"unionid": userInfo.Unionid,
//"nickname": userInfo.Nickname,
//"avatar": userInfo.HeadImgURL,
"nickname": userInfo.Nickname,
"avatar": userInfo.HeadImgURL,
}
if orgId != 0 {
wechatInfo["org_id"] = orgId
wechatInfo["status"] = 0
}
wechatDb := this.Db.Get("wechat", "*", Map{"openid": wechatInfo.GetString("openid")})
@ -130,15 +135,11 @@ var Wechat = Ctr{
wechatInfo["create_time"] = t
wechatInfo["id"] = this.Db.Insert("wechat", wechatInfo)
}
wechatDb = this.Db.Get("wechat", "*", Map{"openid": wechatInfo.GetString("openid")})
wechatInfo["nickname"] = userInfo.Nickname
wechatInfo["avatar"] = userInfo.HeadImgURL
//this.Session("user_id",user.GetCeilInt("id"))
this.Session("wechatInfo", wechatInfo)
this.Session("wechatInfo", wechatDb)
fmt.Println(wechatDb)
fmt.Println(this.Session("wechatInfo"))
//this.Display(0, 1)
this.Display(0, Map{"type": 1, "token": this.SessionId})
},

View File

@ -47,6 +47,8 @@
"mode": 3,
"port": "8081",
"sessionName": "HOTIME",
"smsKey": "b0eb4bf0198b9983cffcb85b69fdf4fa",
"smsLogin": "【政企超链接】您的验证码为:{code}请在5分钟内使用切勿将验证码泄露于他人如非本人操作请忽略。",
"tpt": "tpt",
"wechatAppID": "wx2edb802f5c3ae1ae",
"wechatAppSecret": "4ff97e523c3de6bad47051b568522386",

Binary file not shown.

View File

@ -20,7 +20,7 @@ func main() {
baidu.DefaultBaiDuMap.Init("ZeT902EZvVgIoGVWEFK3osUm")
//fmt.Println("0123456"[1:7])
appIns := hotime.Init("config/config.json")
notNeedLogin := []string{"login", "test", "auth", "upload"} //不需要登录的操作
notNeedLogin := []string{"token", "login", "test", "auth", "upload", "info"} //不需要登录的操作
//RESTfull接口适配
appIns.SetConnectListener(func(context *hotime.Context) bool {
@ -57,7 +57,10 @@ func main() {
if context.RouterString[0] == "app" && context.RouterString[1] == "analyse" {
return true
}
//微信操作无需登录
if context.RouterString[0] == "app" && context.RouterString[1] == "category" {
return true
}
//没有登录
if context.Session("user_id").Data == nil {
context.Display(2, "没有登录")

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.form-file-item .upload-file .el-upload{width:100px;height:auto;line-height:0;background-color:transparent}.form-file-item .el-button--small{height:32px}.el-input-number--mini{width:100px;margin-right:5px}.basic-form-info .el-input-number--mini .el-input{width:100px!important}.basic-form{width:400px}.basic-form .el-input,.basic-form .el-select{width:84px;margin-right:5px}.form-file-item{margin-bottom:5px}.form-file-item .el-upload{width:60px;height:60px;line-height:60px}.form-file-item .file-item .name{width:100px}.form-file-item .name{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-list .form-common-item{display:flex;margin-bottom:5px}.form-common-item .name,.form-common-item .value{width:88px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.select-list .select-list-item{display:flex;margin-bottom:5px}.select-list-item .name{width:76px}.select-list-item .name,.select-list-item .value{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.select-list-item .value{width:77px}.select-wrap{text-align:left;margin-bottom:5px}.select-wrap .select-add-name{display:inline-block;width:87px;text-align:right}.select-wrap .el-input{width:84px}.el-input__inner{padding-left:10px;padding-right:5px}.el-upload{height:60px;width:60px;background:#eee;overflow:hidden}.not-show-tab-label .el-tabs__header{display:none}.el-descriptions__body{background:#f0f0f0}.not-show-tab-search{display:none}.el-table__body-wrapper{margin-bottom:4px;padding-bottom:2px}.el-table__body-wrapper::-webkit-scrollbar{width:8px;height:8px}.el-table__body-wrapper::-webkit-scrollbar-track{border-radius:10px;-webkit-box-shadow:inset 0 0 6px hsla(0,0%,93.3%,.3);background-color:#eee}.el-table__body-wrapper::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 6px rgba(145,143,143,.3);background-color:#918f8f}

View File

@ -1,3 +1,3 @@
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title></title><style>body{
margin: 0px;
}</style><link href="css/chunk-04e35d82.5cc24c46.css" rel="prefetch"><link href="css/chunk-10a72523.993d1e17.css" rel="prefetch"><link href="css/chunk-1968ce68.26f55e87.css" rel="prefetch"><link href="css/chunk-2c0b72c6.f9cf649c.css" rel="prefetch"><link href="css/chunk-3d8462ce.26cbd584.css" rel="prefetch"><link href="css/chunk-6feafdad.c460e209.css" rel="prefetch"><link href="js/chunk-04e35d82.054c5f8b.js" rel="prefetch"><link href="js/chunk-10a72523.f9d2509e.js" rel="prefetch"><link href="js/chunk-1968ce68.99a1cb89.js" rel="prefetch"><link href="js/chunk-2c0b72c6.fa1690a2.js" rel="prefetch"><link href="js/chunk-3d8462ce.ac9d69b2.js" rel="prefetch"><link href="js/chunk-6feafdad.545f8201.js" rel="prefetch"><link href="js/chunk-78ba61e2.520b239c.js" rel="prefetch"><link href="js/chunk-a2efa204.7909c937.js" rel="prefetch"><link href="js/chunk-d83135a2.4680b3b0.js" rel="prefetch"><link href="css/app.1c7362c1.css" rel="preload" as="style"><link href="js/app.3612dc2e.js" rel="preload" as="script"><link href="css/app.1c7362c1.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but hotime doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/app.3612dc2e.js"></script></body></html>
}</style><link href="css/chunk-04e35d82.5cc24c46.css" rel="prefetch"><link href="css/chunk-0c2cc1cb.f9cf649c.css" rel="prefetch"><link href="css/chunk-10a72523.993d1e17.css" rel="prefetch"><link href="css/chunk-1968ce68.26f55e87.css" rel="prefetch"><link href="css/chunk-3d8462ce.26cbd584.css" rel="prefetch"><link href="css/chunk-6feafdad.c460e209.css" rel="prefetch"><link href="js/chunk-04e35d82.054c5f8b.js" rel="prefetch"><link href="js/chunk-0c2cc1cb.86423cb1.js" rel="prefetch"><link href="js/chunk-10a72523.f9d2509e.js" rel="prefetch"><link href="js/chunk-1968ce68.99a1cb89.js" rel="prefetch"><link href="js/chunk-3d8462ce.ac9d69b2.js" rel="prefetch"><link href="js/chunk-6feafdad.545f8201.js" rel="prefetch"><link href="js/chunk-78ba61e2.520b239c.js" rel="prefetch"><link href="js/chunk-a2efa204.7909c937.js" rel="prefetch"><link href="js/chunk-d83135a2.4680b3b0.js" rel="prefetch"><link href="css/app.6e46e897.css" rel="preload" as="style"><link href="js/app.0d87c2a1.js" rel="preload" as="script"><link href="css/app.6e46e897.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but hotime doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/app.0d87c2a1.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -7,21 +7,26 @@
</head>
<body>
<script>
H.post("app/wechat/code", {"code": H.getParam("code")}, function (res) {
if (res.status != 0) {
alert(res.result.msg)
function run() {
var data={"code":H.getParam("code"),"org_id":H.getParam("org_id")}
if(data.code==null){
location.href='https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx2edb802f5c3ae1ae&redirect_uri='+location.href+'&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect'
return
}
localStorage.setItem("token", res.result.token)
if (res.result.type == 0) {
H.upUrl("wx/");
} else {
H.upUrl("wx/#/companyone");
}
H.post("app/wechat/code", data, function (res) {
if (res.status != 0) {
alert(res.result.type)
return
}
H.upUrl("https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=Mzg5MDczNDcwMw==#wechat_redirect");
})
}
run()
})
</script>
</body>
</html>

View File

@ -0,0 +1 @@
.CompanyRegistered[data-v-016ea1ae]{width:100%;height:100%;background:#fff;position:fixed}.flowbox[data-v-016ea1ae]{padding:15px 0}.flowcon[data-v-016ea1ae]{display:flex;align-items:center;justify-content:center;width:300px;margin:0 auto;padding-bottom:8px}.flowpox[data-v-016ea1ae]{display:flex;align-items:center;width:328px;font-size:16px;margin:0 auto}.lines2[data-v-016ea1ae]{width:100px;height:2px;border-bottom:2px dashed #478ff3}.lines1[data-v-016ea1ae]{width:100px;height:2px;border-bottom:2px dashed #ccc}.circle2[data-v-016ea1ae]{width:22px}.circle1[data-v-016ea1ae]{width:16px}.upphoto[data-v-016ea1ae]{margin:0 auto 110px;text-align:center}.bigtitle[data-v-016ea1ae]{font-size:24px;font-weight:700;margin-bottom:15px}.stitle[data-v-016ea1ae]{font-weight:400}.photobox2[data-v-016ea1ae]{width:240px;height:240px;margin:60px auto 15px}.photobox2 img[data-v-016ea1ae]{width:100%;height:100%}.nextbtn[data-v-016ea1ae]{padding:0 30px 30px}

View File

@ -0,0 +1 @@
:root{--van-action-bar-background-color:var(--van-background-color-light);--van-action-bar-height:50px}.van-action-bar{position:fixed;right:0;bottom:0;left:0;display:flex;align-items:center;box-sizing:content-box;height:var(--van-action-bar-height);background:var(--van-action-bar-background-color)}:root{--van-action-bar-button-height:40px;--van-action-bar-button-warning-color:var(--van-gradient-orange);--van-action-bar-button-danger-color:var(--van-gradient-red)}.van-action-bar-button{flex:1;height:var(--van-action-bar-button-height);font-weight:var(--van-font-weight-bold);font-size:var(--van-font-size-md);border:none;border-radius:0}.van-action-bar-button--first{margin-left:5px;border-top-left-radius:var(--van-border-radius-max);border-bottom-left-radius:var(--van-border-radius-max)}.van-action-bar-button--last{margin-right:5px;border-top-right-radius:var(--van-border-radius-max);border-bottom-right-radius:var(--van-border-radius-max)}.van-action-bar-button--warning{background:var(--van-action-bar-button-warning-color)}.van-action-bar-button--danger{background:var(--van-action-bar-button-danger-color)}@media (max-width:321px){.van-action-bar-button{font-size:13px}}:root{--van-dialog-width:320px;--van-dialog-small-screen-width:90%;--van-dialog-font-size:var(--van-font-size-lg);--van-dialog-transition:var(--van-animation-duration-base);--van-dialog-border-radius:16px;--van-dialog-background-color:var(--van-background-color-light);--van-dialog-header-font-weight:var(--van-font-weight-bold);--van-dialog-header-line-height:24px;--van-dialog-header-padding-top:26px;--van-dialog-header-isolated-padding:var(--van-padding-lg) 0;--van-dialog-message-padding:var(--van-padding-lg);--van-dialog-message-font-size:var(--van-font-size-md);--van-dialog-message-line-height:var(--van-line-height-md);--van-dialog-message-max-height:60vh;--van-dialog-has-title-message-text-color:var(--van-gray-7);--van-dialog-has-title-message-padding-top:var(--van-padding-xs);--van-dialog-button-height:48px;--van-dialog-round-button-height:36px;--van-dialog-confirm-button-text-color:var(--van-danger-color)}.van-dialog{top:45%;left:50%;width:var(--van-dialog-width);overflow:hidden;font-size:var(--van-dialog-font-size);background:var(--van-dialog-background-color);border-radius:var(--van-dialog-border-radius);-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:var(--van-dialog-transition);transition-property:transform,opacity}@media (max-width:321px){.van-dialog{width:var(--van-dialog-small-screen-width)}}.van-dialog__header{padding-top:var(--van-dialog-header-padding-top);font-weight:var(--van-dialog-header-font-weight);line-height:var(--van-dialog-header-line-height);text-align:center}.van-dialog__header--isolated{padding:var(--van-dialog-header-isolated-padding)}.van-dialog__content--isolated{display:flex;align-items:center;min-height:104px}.van-dialog__message{flex:1;max-height:var(--van-dialog-message-max-height);padding:26px var(--van-dialog-message-padding);overflow-y:auto;font-size:var(--van-dialog-message-font-size);line-height:var(--van-dialog-message-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word;-webkit-overflow-scrolling:touch}.van-dialog__message--has-title{padding-top:var(--van-dialog-has-title-message-padding-top);color:var(--van-dialog-has-title-message-text-color)}.van-dialog__message--left{text-align:left}.van-dialog__message--right{text-align:right}.van-dialog__footer{display:flex;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.van-dialog__cancel,.van-dialog__confirm{flex:1;height:var(--van-dialog-button-height);margin:0;border:0}.van-dialog__confirm,.van-dialog__confirm:active{color:var(--van-dialog-confirm-button-text-color)}.van-dialog--round-button .van-dialog__footer{position:relative;height:auto;padding:var(--van-padding-xs) var(--van-padding-lg) var(--van-padding-md)}.van-dialog--round-button .van-dialog__message{padding-bottom:var(--van-padding-md);color:var(--van-text-color)}.van-dialog--round-button .van-dialog__cancel,.van-dialog--round-button .van-dialog__confirm{height:var(--van-dialog-round-button-height)}.van-dialog--round-button .van-dialog__confirm{color:var(--van-white)}.van-dialog-bounce-enter-from{transform:translate3d(-50%,-50%,0) scale(.7);opacity:0}.van-dialog-bounce-leave-active{transform:translate3d(-50%,-50%,0) scale(.9);opacity:0}

View File

@ -0,0 +1 @@
.real,.real .van-uploader__input-wrapper{width:100%}.CompanyRegistered[data-v-6ed3376c]{width:100%;height:100%;background:#fff;position:fixed}.flowbox[data-v-6ed3376c]{padding:15px 0}.flowcon[data-v-6ed3376c]{display:flex;align-items:center;justify-content:center;width:300px;margin:0 auto;padding-bottom:8px}.flowpox[data-v-6ed3376c]{display:flex;align-items:center;width:328px;font-size:16px;margin:0 auto}.lines2[data-v-6ed3376c]{width:100px;height:2px;border-bottom:2px dashed #478ff3}.lines1[data-v-6ed3376c]{width:100px;height:2px;border-bottom:2px dashed #ccc}.circle2[data-v-6ed3376c]{width:22px}.circle1[data-v-6ed3376c]{width:16px}.upphoto[data-v-6ed3376c]{padding-top:26px;margin:0 auto;text-align:center}.bigtitle[data-v-6ed3376c]{font-size:24px;font-weight:700;margin-bottom:15px}.stitle[data-v-6ed3376c]{font-weight:400}.photobox[data-v-6ed3376c]{width:300px;height:185px;margin:24px auto}.photobox img[data-v-6ed3376c]{width:100%;height:100%}.nextbtn[data-v-6ed3376c]{padding:0 30px 30px}.fabox[data-v-6ed3376c]{padding:0 20px 10px}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.mmhead[data-v-f56a627a]{padding:30px;margin-top:10px;background:#fff}.mattertitle h1[data-v-f56a627a]{font-size:16px}.mdate span[data-v-f56a627a]{font-size:14px;margin-left:10px}.nextbtn[data-v-f56a627a]{padding:0 30px 30px;margin:20px 0}.navli[data-v-f56a627a],.navslist[data-v-f56a627a]{height:40px;background:#fff}.navli[data-v-f56a627a]{text-align:center;line-height:40px;display:inline-block;width:33.3%}.navslist .navli[data-v-f56a627a]:first-child{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAScAAABQCAYAAABbCrOMAAAEI0lEQVR4nO3dzasVZRzA8a+9R0VUEkUSSS8QEQaBYK9SaUVSSRZKiVGUim2iQigIWiRW4CqoSLm0KHpxcSkiw4ooyourEGkToovCWqQRJWSI8cjvwu3qvfecOTPPPIf5fv6AmTO/xZc5Z57nzKx5y38+iqQuOAU4MizXeVIBn0FSHluBs4Zl1sZJ6o77ga+Ai4bhio2T1C3zgR3ANaVftXGSuucy4FvgtpKv3DhJ3XQe8BmwqtSrN05Sd50GjAAvAbNKm4JxkrotRelF4J2IVTGMk6RkJfB5fN0rgnGSNG4h8B0wt4SJGCdJE10NjMWSg1YZJ0mTXQh8DSxtczLGSdKJnBnbXZ5uazrGSdJUUh82Aa8DJ+eeknGSNJN1wChwds5JGSdJvVgSv0NdnGtaxklSr66PJ3nX5piYcZLUj0tj0/CipqdmnCT161zgU+CxJidnnCRVcSqwBXi5qU3DxknSIJ4H3gVOr3uKxknSoFYA24Hz65ykcZJUh5vj738vr2uaxklSXa6KpQYL6jiecZJUp9nxhpdlgx7TOEmq2xnAh8BzgxzXOElqQlpe8CrwRrxpuG/GSVKT1gAfA+f0ew7jJKlpdwPfAJf0cx7jJCmH6+JJ3rxez2WcJOUyJzYN39XL+YyTpJzSb0+fAE/OdE7jJCm39PTuLWDjdJuGjZOktqwHPoh1UccxTpLa9CDwZaws/x/jJKltN8Sm4Ssnfg7jJKkEV0Sgbhr/LMZJUikuAL4AllN1z4skNST9o+Z7wFzvnCSV5ijwp3dOkkryL/BounsyTpJKcQh4KF475W9OkorwB3Bv7L07xjhJattvsRn4h4mfwzhJatM+YDHw0+TP4NM6SW35MRZdHhcmjJOkluwEbgF+mer0xklSbmmj7+3A79Od1zhJymkUuAf4a6ZzGidJuYzEyzb/6eV8xklSDpuAx4EjvZ7LOElq2gvAM7Fnrmeuc5LUlHSX9BTwZpXjGydJTTgMrALer3ps4ySpbmkD7wPAtkGOa5wk1ekgsAT4ftBjGidJdfkVuBPYVcfxjJOkOuwFFgF76pqmSwkkDWo3cGOdYcI4SRrQGHArsL/uQRonSVVtB+4ADjQxQeMkqYqP4qnc301NzzhJ6tfbwIpYaNkY4ySpH68Aq/vZwFuVSwkk9SJt2l0PvJZrWsZJ0kzSXdIaYHPOSRknSdNJvys9DGzNPSXjJGkq6Unc0lgykJ1xknQiB+K/vsfamo5xkjTZ/njR5e42J2OcJE20Jzbw7m17Kq5zkjRuV7yBt/UwYZwkhfTncAvjP5mKYJwkbYuvcgdLmoRxkrotvYDgvvjf76IYJ6m70iubHml6A29Vxknqpg3A2hwbeKtyKYHULWkD77PxevCiGSepO9Jd0hPAyDBcsXGSumMZMDoUVwv8B7uJfsvOmb0SAAAAAElFTkSuQmCC) no-repeat;background-size:100% 100%}.navslist .navli[data-v-f56a627a]:nth-child(2){background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAScAAABQCAYAAABbCrOMAAAGLklEQVR4nO3d3WscZRTH8RMxTchLwftet70/f4CXta2VapH6RrVoL/RKiwUFxQtBUFAseimoFGJVCi1oKxVREC9KO9AKRW23yXaT3exLskl2k92dfRs5ZVJSm6TZ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f64qs7Y/RBOAHrKH+17QUSeVtWl5XshnAD0xIq/zq16KAIfxAF03fJxUrlczvqajq52WgtvTgC6qtFo2J66ZrFYPK6qJ9dam3AC0DW1Ws320lXL5fIRVf12vXUJJwBdUalUbJ540XXdJ1X1lwetSTgBCJyNR4nFYul6vW7zm65uZD3CCUCgFhYW7ON3zG+uHN/oWoQTgMD4p/9e9psrs62sQzgBCITfXHlRRA6p6mKra9DnBKDjrLkylUqdEpEDmwkm4c0JQCdZ17cNjZubm/tYRE7Y0LjNXp5wAtARfnOlVywW31TVT9q9JuEEoG3WXBmLxaqlUsm2oox14pqEE4C2+M2Vi67r2ofvi52qJuEEYNP8s+cytVptv6o6nawk4QRgU6y5cmJiYrzRaOxZ69TedhBOAFrmN1c6fnNlOogKEk5ARNif+fv6+tp+2HQ6Lclk0jbu2gbeYlDVowkTiAgb8NYua65MJpPfiMi+IINJCCcAG7HcXJnNZj8VkedVtRp04fhZB2BdK5or31LVj7pVLcIJwJr85spaqVR6WVVPdbNShBOAVbmuayN1l1zXtSObLnS7SoQTgPuUSiV7Y8r5zZWXe1EhwgnAPQqFgk2ujPvNlTd6VR3CCcBd+Xxe4vH4Vc/z9gbVXLlRhBOAOzKZjExNTf0qIgdVtdDrqhBOACyULJy+ExE7T84NQ0VowgQibLm5MpPJfCYiz4YlmIQ3JyC6bDuLNVcWCoV3VPWDsBWCcAIiqF6vW6tAfWlp6ZiqfhXGChBOQMT4zZUl13UPq+oPYX16wgmIEL+5ctZvrrwU5icnnICIKBaL1sN0u9FoPKaqf4f9qQknICLGx8f/9JsrU1vhiQknICI8z3tUVee3xNOKyL9oiYKPvxmMTQAAAABJRU5ErkJggg==) no-repeat;background-size:100% 100%}.nng[data-v-f56a627a]{padding-bottom:5px;font-size:16px;font-weight:700}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.flexcenter[data-v-20853d5f]{display:flex;align-items:center}.matterLi[data-v-20853d5f]{background:#fff;padding:0 20px;margin-top:10px}.i1[data-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9OG/qHqFU2lcTM3NlWrhzxilU9astqXs6yF7k1PACSK1wB6OEh+0Dbd/xwmzAzqfMgOhT2IryulolcaIKMMPDccbhjYX/lhYwbvr4y3QHRzFAAlQuNFIl9pQxzIldZwgvHwVci7FAIlyFqV8p/bwVarEu9oinlsEiX+hGIROeCsnEZGLmsUlVvTjE3jCW42BteWmxmUbeWRaHIGwowOqknb3H333BqZpFXoajreZQIG41NKvYGFnNrPSoNIXejJFenxD8xVUEm9Ue+Mb0h66gOb4aGfORqHqEXDgqkUU/TP7N6zRVZ1RsiJ+8QFgd96NYY71pYK7ira2FzL+j3yHMgTrIk2v4HSOKtRtH8C0MGrkAekZCwAAAAAElFTkSuQmCC)no-repeat;background-size:100% 100%}.i1[data-v-20853d5f],.i2[data-v-20853d5f]{display:block;width:20px;height:20px;flex-shrink:0;margin-right:5px}.i2[data-v-20853d5f]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABI1JREFUaEPtWV1oHFUU/s7kRyWiooiiGLUVIUIrNZndKIX2rZSqVM2sSdpuZtNasUK0fdK36oO+JYhaaWizk0bR7G6jUDWkSqsIpZlNFGMfBP9gBbEopT4U+7M7RybJLrvZ+bl3dhay4DzufOc73zfn/px7l9DgDzW4fvxvoFhB9fjgGrKsbSDuAFM7A+0EtNvvGcgRkANxjpnOoYVOZLcnfw+j+jVVoPOjxCNNTfwEgK0AojKCGPhKAZ3MFzAz35v8Via2HBvIwIZU4vZm8AEQ9hNwXdDky9W5AsZIHjT8XSz5lyyXtAE1re8D4wAR1som88Iz4xcQhrOacUiGV8qAmtbfIeBFmQTSWMKE2WPEReOEDKgp/U5S6BSYO0SJa8QtmJrxsAiHr4HuTCJqMZ8VIQsbY2qGrz5PQCS1535Q/tewhUnw+VbC1cD6Y7varr+h6QyA9RIJ6wFNm5oRcyN2NaBmEoeJeW89FMlyMtFotif5vFOco4FoaqCTieZkE9UTT8xds7Hx+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%}.mattertitle h1[data-v-20853d5f]{font-size:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mattertitle[data-v-20853d5f]{padding:10px 0;border-bottom:1px solid #eee}.matterdate[data-v-20853d5f]{padding:10px 30px}.mdate[data-v-20853d5f]{font-size:15px;padding:5px 0;color:#666}.mdate span[data-v-20853d5f]{font-size:14px;margin-left:10px}.matterbtn[data-v-20853d5f]{width:50px;height:50px;color:#fff;border-radius:12px;text-align:center;line-height:50px}.mtn1[data-v-20853d5f]{background:#e6422d}.mtn2[data-v-20853d5f]{background:#42b983}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.CompanyRegistered[data-v-007a2810]{width:100%;height:100%;background:#fff;position:fixed}.flowbox[data-v-007a2810]{padding:15px 0}.flowcon[data-v-007a2810]{display:flex;align-items:center;justify-content:center;width:300px;margin:0 auto;padding-bottom:8px}.flowpox[data-v-007a2810]{display:flex;align-items:center;width:328px;font-size:16px;margin:0 auto}.lines2[data-v-007a2810]{width:100px;height:2px;border-bottom:2px dashed #478ff3}.lines1[data-v-007a2810]{width:100px;height:2px;border-bottom:2px dashed #ccc}.circle2[data-v-007a2810]{width:22px}.circle1[data-v-007a2810]{width:16px}.upphoto[data-v-007a2810]{padding-top:10px;margin:0 auto;text-align:center}.bigtitle[data-v-007a2810]{font-size:24px;font-weight:700;margin-bottom:15px}.stitle[data-v-007a2810]{font-weight:400}.photobox[data-v-007a2810]{width:300px;height:185px;margin:30px auto}.photobox img[data-v-007a2810]{width:100%;height:100%}.nextbtn[data-v-007a2810]{padding:0 30px 30px}.fabox[data-v-007a2810]{padding:20px 20px 10px}

View File

@ -0,0 +1 @@
.boxs[data-v-6e46c151]{margin:15px 0}.boxTitle[data-v-6e46c151]{margin:0;padding:0 16px 8px;color:rgba(69,90,100,.6);font-weight:400;font-size:14px;line-height:16px}.nextbtn[data-v-6e46c151]{padding:0 30px 30px;margin:20px 0}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

View File

@ -1 +1 @@
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>政企超链接</title><script src="js/hotime.js"></script><link href="css/chunk-190deb01.dfcf440b.css" rel="prefetch"><link href="css/chunk-2f4946ed.47fe59ee.css" rel="prefetch"><link href="css/chunk-4acb9dfe.4104eb3c.css" rel="prefetch"><link href="css/chunk-4aec0e1a.837a294d.css" rel="prefetch"><link href="css/chunk-618a0a70.a80a4aa4.css" rel="prefetch"><link href="css/chunk-6205d240.49506955.css" rel="prefetch"><link href="css/chunk-72fd1b41.39f0bed9.css" rel="prefetch"><link href="css/chunk-7bd2da6e.709a5adf.css" rel="prefetch"><link href="css/chunk-8487c140.922596b2.css" rel="prefetch"><link href="css/chunk-9fe3f614.012fe7da.css" rel="prefetch"><link href="css/chunk-ed26d390.84c6aa38.css" rel="prefetch"><link href="js/chunk-190deb01.c56c5ee5.js" rel="prefetch"><link href="js/chunk-2f4946ed.fdbef06a.js" rel="prefetch"><link href="js/chunk-4acb9dfe.e02f0fb0.js" rel="prefetch"><link href="js/chunk-4aec0e1a.6eaf78e6.js" rel="prefetch"><link href="js/chunk-618a0a70.2d03cb56.js" rel="prefetch"><link href="js/chunk-6205d240.512e7069.js" rel="prefetch"><link href="js/chunk-6bf136d8.8083f1a9.js" rel="prefetch"><link href="js/chunk-72fd1b41.b21e784a.js" rel="prefetch"><link href="js/chunk-7bd2da6e.8dee5c74.js" rel="prefetch"><link href="js/chunk-8487c140.cfb3092b.js" rel="prefetch"><link href="js/chunk-9fe3f614.776b2508.js" rel="prefetch"><link href="js/chunk-ed26d390.d8c8cf4a.js" rel="prefetch"><link href="css/app.213cf3bd.css" rel="preload" as="style"><link href="css/chunk-vendors.d727e489.css" rel="preload" as="style"><link href="js/app.bfdd1b0a.js" rel="preload" as="script"><link href="js/chunk-vendors.a3ebec0c.js" rel="preload" as="script"><link href="css/chunk-vendors.d727e489.css" rel="stylesheet"><link href="css/app.213cf3bd.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but myhs doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.a3ebec0c.js"></script><script src="js/app.bfdd1b0a.js"></script></body></html>
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>政企超链接</title><script src="js/hotime.js"></script><link href="css/chunk-1bdd5e9e.aa8169ff.css" rel="prefetch"><link href="css/chunk-364739e9.7b828444.css" rel="prefetch"><link href="css/chunk-45920b48.6ffe8c3e.css" rel="prefetch"><link href="css/chunk-5389ba05.a438ec99.css" rel="prefetch"><link href="css/chunk-53f14c44.5f2d3d54.css" rel="prefetch"><link href="css/chunk-7427f764.5785e6ca.css" rel="prefetch"><link href="css/chunk-913cf40c.89912302.css" rel="prefetch"><link href="css/chunk-997b756c.c836e06d.css" rel="prefetch"><link href="css/chunk-b291a028.db8be8b1.css" rel="prefetch"><link href="css/chunk-c278c8ee.3b1c6c9e.css" rel="prefetch"><link href="css/chunk-dc742e0e.32c7ed0d.css" rel="prefetch"><link href="js/chunk-1bdd5e9e.35411267.js" rel="prefetch"><link href="js/chunk-364739e9.b0694fd8.js" rel="prefetch"><link href="js/chunk-45920b48.3cf27432.js" rel="prefetch"><link href="js/chunk-5389ba05.9a35d00e.js" rel="prefetch"><link href="js/chunk-53f14c44.85247487.js" rel="prefetch"><link href="js/chunk-57ef77d8.22591aa2.js" rel="prefetch"><link href="js/chunk-6bf136d8.8083f1a9.js" rel="prefetch"><link href="js/chunk-7427f764.71679cc4.js" rel="prefetch"><link href="js/chunk-913cf40c.a258f39d.js" rel="prefetch"><link href="js/chunk-997b756c.e15a06b7.js" rel="prefetch"><link href="js/chunk-b291a028.641a2a82.js" rel="prefetch"><link href="js/chunk-c278c8ee.d9506722.js" rel="prefetch"><link href="js/chunk-dc742e0e.2f9f461a.js" rel="prefetch"><link href="css/app.213cf3bd.css" rel="preload" as="style"><link href="css/chunk-vendors.f50b6c9f.css" rel="preload" as="style"><link href="js/app.ccae76d8.js" rel="preload" as="script"><link href="js/chunk-vendors.5cecbfc6.js" rel="preload" as="script"><link href="css/chunk-vendors.f50b6c9f.css" rel="stylesheet"><link href="css/app.213cf3bd.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but myhs doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.5cecbfc6.js"></script><script src="js/app.ccae76d8.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1bdd5e9e"],{"36ad":function(t,e,n){"use strict";n.r(e);var i=n("f2bf"),c=function(t){return Object(i["C"])("data-v-016ea1ae"),t=t(),Object(i["A"])(),t},r={class:"CompanyRegistered"},a={class:"upphoto",style:{"margin-top":"10px"}},o=c((function(){return Object(i["i"])("h1",{class:"bigtitle"},"恭喜你企业认证成功",-1)})),u={class:"stitle"},s={class:"nextbtn"},f=Object(i["j"])("立即跳转");function b(t,e,n,c,b,l){var d=Object(i["G"])("van-nav-bar"),p=Object(i["G"])("van-button");return Object(i["z"])(),Object(i["h"])("div",r,[Object(i["k"])(d,{title:"企业认证",onClickLeft:l.onClickLeft},null,8,["onClickLeft"]),Object(i["i"])("div",a,[o,Object(i["i"])("h2",u,Object(i["K"])(b.timeSet)+"秒后页面将自动跳转",1)]),Object(i["i"])("div",s,[Object(i["k"])(p,{type:"primary",block:"",round:"",size:"large",color:"#2f58e4",onClick:e[0]||(e[0]=function(e){return t.$router.push({path:"/"})})},{default:Object(i["P"])((function(){return[f]})),_:1})])])}var l=n("c1df"),d=n.n(l),p={name:"companyfinish",data:function(){return{loading:!1,finished:!1,refreshing:!1,timeSet:3}},mounted:function(){var t=this,e=setInterval((function(){if(t.timeSet<=0)return t.$router.push({path:"/"}),void clearInterval(e);t.timeSet=t.timeSet-1}),1e3)},methods:{getTime:function(t){return d()(1e3*t).format("YYYY-MM-DD HH:mm:ss")},onClickLeft:function(){return history.back()}}},h=(n("6868"),n("d959")),j=n.n(h);const m=j()(p,[["render",b],["__scopeId","data-v-016ea1ae"]]);e["default"]=m},6868:function(t,e,n){"use strict";n("9300")},9300:function(t,e,n){}}]);
//# sourceMappingURL=chunk-1bdd5e9e.35411267.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-913cf40c"],{"5ff8":function(t,e,n){},ac2e:function(t,e,n){"use strict";n("5ff8")},bab3:function(t,e,n){t.exports=n.p+"img/vc2.59364747.png"},cd34:function(t,e,n){"use strict";n.r(e);var c=n("f2bf"),i=n("bab3"),r=n.n(i),o=function(t){return Object(c["C"])("data-v-f273c964"),t=t(),Object(c["A"])(),t},s={class:"CompanyRegistered"},a=o((function(){return Object(c["i"])("div",{class:"flowbox"},[Object(c["i"])("div",{class:"navslist"},[Object(c["i"])("div",{class:"navli",style:{color:"#fff"}},"基础填报"),Object(c["i"])("div",{class:"navli",style:{color:"#fff"}},"文件上传"),Object(c["i"])("div",{class:"navli",style:{color:"#fff",background:"#2f58e4"}},"填报完成")]),Object(c["i"])("div",{class:"photobox2"},[Object(c["i"])("img",{src:r.a})])],-1)})),f={class:"upphoto"},u=o((function(){return Object(c["i"])("h1",{class:"bigtitle"},"恭喜你填报完成",-1)})),b={class:"stitle"},l={class:"nextbtn"},d=Object(c["j"])("立即跳转");function v(t,e,n,i,r,o){var v=Object(c["G"])("van-nav-bar"),j=Object(c["G"])("van-button");return Object(c["z"])(),Object(c["h"])("div",s,[Object(c["k"])(v,{title:"调研填报"}),a,Object(c["i"])("div",f,[u,Object(c["i"])("h2",b,Object(c["K"])(r.timeSet)+"秒后页面将自动跳转",1)]),Object(c["i"])("div",l,[Object(c["k"])(j,{type:"primary",block:"",round:"",size:"large",color:"#2f58e4",onClick:e[0]||(e[0]=function(e){return t.$router.push({path:"/"})})},{default:Object(c["P"])((function(){return[d]})),_:1})])])}var j=n("c1fb"),O=n("c1df"),p=n.n(O),m={name:"MattersFinish",data:function(){return{loading:!1,finished:!1,refreshing:!1,timeSet:3}},mounted:function(){var t=this,e=setInterval((function(){if(t.timeSet<=0)return t.$router.push({path:"/"}),void clearInterval(e);t.timeSet=t.timeSet-1}),1e3)},methods:{getTime:function(t){return p()(1e3*t).format("YYYY-MM-DD HH:mm:ss")},setImg:function(t){return null==t||""==t?"./img/logo.png":j["a"]+"/"+t},onClickLeft:function(){return history.back()}}},h=(n("ac2e"),n("d959")),g=n.n(h);const k=g()(m,[["render",v],["__scopeId","data-v-f273c964"]]);e["default"]=k}}]);
//# sourceMappingURL=chunk-913cf40c.a258f39d.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-dc742e0e"],{4181:function(e,t,n){"use strict";n.r(t);n("b0c0");var a=n("f2bf"),c=function(e){return Object(a["C"])("data-v-6e46c151"),e=e(),Object(a["A"])(),e},r={class:"center"},o={class:"boxs"},u=c((function(){return Object(a["i"])("h1",{class:"boxTitle"},"个人信息",-1)})),l={class:"nextbtn"},i=Object(a["j"])("保存");function d(e,t,n,c,d,b){var f=Object(a["G"])("van-nav-bar"),s=Object(a["G"])("van-field"),m=Object(a["G"])("van-uploader"),j=Object(a["G"])("van-cell-group"),O=Object(a["G"])("van-button");return Object(a["z"])(),Object(a["h"])("div",r,[Object(a["k"])(f,{title:"个人中心","left-arrow":"",onClickLeft:c.onClickLeft},null,8,["onClickLeft"]),Object(a["i"])("div",o,[u,Object(a["k"])(j,{outset:""},{default:Object(a["P"])((function(){return[Object(a["k"])(s,{label:"真实姓名",modelValue:e.form.name,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.form.name=t}),placeholder:"请输入真实姓名"},null,8,["modelValue"]),Object(a["k"])(s,{label:"身份证号",modelValue:e.form.idcard,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.form.idcard=t}),placeholder:"请输入身份证号",type:"number"},null,8,["modelValue"]),Object(a["k"])(s,{name:"uploader",label:"上传头像"},{input:Object(a["P"])((function(){return[Object(a["k"])(m,{modelValue:e.avatar,"onUpdate:modelValue":t[2]||(t[2]=function(t){return e.avatar=t}),"max-count":1,"after-read":b.afterRead},null,8,["modelValue","after-read"])]})),_:1})]})),_:1})]),Object(a["i"])("div",l,[Object(a["k"])(O,{type:"primary",onClick:b.onSubmit,block:"",round:"",size:"large",color:"#2f58e4"},{default:Object(a["P"])((function(){return[i]})),_:1},8,["onClick"])])])}n("e17f");var b=n("2241"),f=(n("d3b7"),n("3ca3"),n("ddb0"),n("2b3d"),n("9861"),n("c1fb")),s={name:"Center",setup:function(){var e=function(){return history.back()};return{onClickLeft:e}},data:function(){return{avatar:[],form:{name:"",avatar:null,phone:null,idcard:null}}},mounted:function(){var e=this,t=Object(f["b"])("user");null!=t&&(this.form=t),Object(f["d"])("app/user/info").then((function(t){Object(f["b"])("user",t.result),console.log(e.info),e.form=t.result}))},methods:{afterRead:function(e){var t=this;this.cutImageBase64(e.file,1e3,.8,(function(e){Object(f["d"])("app/user/upload",{file:e}).then((function(e){t.form.avatar=e.result}))}))},onSubmit:function(){Object(f["d"])("app/user/update",this.form).then((function(){history.back(),Object(b["a"])({message:"修改成功"})}))},cutImageBase64:function(e,t,n,a){var c,r=window.URL||window.webkitURL,o=r.createObjectURL(e),u=new Image;u.src=o,u.onload=function(){var e=this,r=e.width,o=e.height,u=r/o;r=t||r,o=r/u;var l=document.createElement("canvas"),i=l.getContext("2d");l.setAttribute("width",r),l.setAttribute("height",o),i.drawImage(e,0,0,r,o),c=l.toDataURL("image/jpeg",n||.8),a(c)}}}},m=(n("818e"),n("d959")),j=n.n(m);const O=j()(s,[["render",d],["__scopeId","data-v-6e46c151"]]);t["default"]=O},"54de":function(e,t,n){},"818e":function(e,t,n){"use strict";n("54de")}}]);
//# sourceMappingURL=chunk-dc742e0e.2f9f461a.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -32,10 +32,9 @@ var H={
}
},
url:"http://"+window.location.host+"/",
methodUrl:"http://"+window.location.host+"/",//修改
wsUrl:"ws://"+window.location.host+"/",
url:location.protocol+"//"+window.location.host+"/",
methodUrl:location.protocol+"//"+window.location.host+"/",//修改
wsUrl:"wss://"+window.location.host+"/",
methodType:'json',
ctrType:"html",
//获取load的data
@ -171,7 +170,7 @@ var H={
}
// url= url+"."+type;
}
if(url.indexOf('http://')<0){
if(url.indexOf('http')<0){
if(url.indexOf('.'+H.ctrType)>0)
url= H.url+url;
else

14
example/tpt/wx/wx.html Normal file
View File

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>测试</title>
<script type="text/javascript" src="js/hotime.js"></script>
</head>
<body>
<script>
H.get("http://127.0.0.1:8081/app/user/test")
</script>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB