dev-2025 #1
@@ -1,5 +1,7 @@
|
||||
package com.pomelotea.hoperun.sign.config
|
||||
|
||||
import com.pomelotea.hoperun.sign.api.HoperunSignController.Companion.expireMap
|
||||
import com.pomelotea.hoperun.sign.api.HoperunSignController.Companion.sessionMap
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties
|
||||
import org.springframework.context.annotation.Configuration
|
||||
|
||||
@@ -21,6 +23,12 @@ open class HoperunUserConfig {
|
||||
var latitudeShort: String = "30.279766"
|
||||
var qingUa: String = "Qing/0.9.101"
|
||||
|
||||
init {
|
||||
expireMap.put("9119", System.currentTimeMillis() + 300000)
|
||||
addUserConfig("9119", UserConfig(username = "李建明", device = "iOS 16.2;Apple;iPhone13,2;deviceId:a8baf66f-fdeb-4f4d-b1e5-9fafcd5045b6(", projectcode = "U2103S000078", project_id = "U2103S000078", projectname = "JRKF-银河资产对接合作平台贷项目"))
|
||||
sessionMap.put("9119", "887B892ABF482A65AD9EFA4254250DFE")
|
||||
}
|
||||
|
||||
fun getUA(emplotyeeNo: String): String {
|
||||
return address +
|
||||
"$longitueHead${random(11)}," +
|
||||
|
||||
@@ -8,3 +8,4 @@ hoperun:
|
||||
longitueShort: "120.0845715522375"
|
||||
latitudeShort: "30.140219809955912"
|
||||
qingUa: "Qing/0.9.113"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user