Commit 74be38e1 authored by 18224442217's avatar 18224442217

no message

parent 97e9fd9a
......@@ -2,20 +2,20 @@ import Md5 from "js-md5"
import { get_xs } from '@/static/xhs.js'
const resolveRVHandler =(response)=>{
if(response.header && response.header['r-v']){
uni.setStorageSync("r-v",response.header['r-v'])
}
// if(response.header && response.header['r-v']){
// uni.setStorageSync("r-v",response.header['r-v'])
// }
}
const getRVHandler = (payload,token)=>{
if(uni.getStorageSync("r-v")){
let a1 =uni.getStorageSync("r-v")
let xs = get_xs(payload, a1,token)
if(xs && xs !=''){
console.log(xs)
return xs
}
}
// if(uni.getStorageSync("r-v")){
// let a1 =uni.getStorageSync("r-v")
// let xs = get_xs(payload, a1,token)
// if(xs && xs !=''){
// console.log(xs)
// return xs
// }
// }
return ''
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment