mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-18 00:15:54 +08:00
优化热门搜索方案,如果更新了后端最新代码,请pull下更新
This commit is contained in:
@@ -9,6 +9,14 @@ const FACE_LOGIN = isDev ? "face_login_dev" : "face_login";
|
||||
const FINGER_LOGIN = isDev ? "finger_login_dev" : "finger_login";
|
||||
const CART_BACKBTN = isDev ? "cart_backbtn_dev" : "cart_backbtn";
|
||||
export default {
|
||||
// 写入热门搜索时间戳
|
||||
setHotWords(val) {
|
||||
uni.setStorageSync("hotWords", val);
|
||||
},
|
||||
// 获取热门搜索时间戳
|
||||
getHotWords() {
|
||||
return uni.getStorageSync(`hotWords`);
|
||||
},
|
||||
|
||||
// 获取face id登录
|
||||
getFaceLogin() {
|
||||
|
||||
Reference in New Issue
Block a user