update:更新样式
This commit is contained in:
@@ -173,19 +173,15 @@ export default {
|
||||
const date = new Date()
|
||||
const fwzspwd = 'fwzspwd'
|
||||
const ticket = this.$route.query.ticket
|
||||
console.log(13, date.getMonth().padStart())
|
||||
const time =
|
||||
date.getFullYear() +
|
||||
'' +
|
||||
this.pad(date.getMonth() + 1, 2) +
|
||||
'' +
|
||||
this.pad(date.getDate(), 2) +
|
||||
'' +
|
||||
this.pad(date.getHours(), 2) +
|
||||
'' +
|
||||
this.pad(date.getMinutes(), 2) +
|
||||
'' +
|
||||
this.pad(date.getSeconds(), 2) +
|
||||
''
|
||||
this.pad(date.getSeconds(), 2)
|
||||
const sign = this.$md5(servicecode + fwzspwd + time)
|
||||
var url = `https://appapi.zjzwfw.gov.cn/sso/servlet/simpleauth?method=ticketValidation&servicecode=${servicecode}&time=${time}&sign=${sign}&st=${ticket}&datatype=datatype`
|
||||
// 第一次请求
|
||||
|
||||
Reference in New Issue
Block a user