Feat(时令尝鲜):接口对接
This commit is contained in:
@@ -42,6 +42,22 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
goSupplierMini() {
|
||||
uni.navigateToMiniProgram({
|
||||
appId: "wx9ca93d1f2a9c8156",
|
||||
path: "pages/auth/login",
|
||||
success(msg){
|
||||
console.log("success",msg)
|
||||
},
|
||||
fail(err){
|
||||
console.log("fail",err)
|
||||
},
|
||||
complete(msg){
|
||||
console.log("complete",msg)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
diffSSS: (date) => {
|
||||
if (typeof date !== "string") return 0;
|
||||
date = date.substring(0, 19);
|
||||
|
||||
Reference in New Issue
Block a user