overseas/libs/spread.js

14 lines
252 B
JavaScript
Raw Normal View History

2024-03-21 17:52:58 +08:00
import { spread } from '@/api/user.js'
import Cache from '@/utils/cache'
const shareScence = function(spid,islogin) {
if(spid)Cache.set("spread", spid || 0);
if(spid && islogin){
spread(spid).then(res=>{
})
}
}
export default shareScence