This commit is contained in:
2024-08-22 12:35:26 +08:00
commit d41d4d6cd0
78 changed files with 1179 additions and 0 deletions

1
pages/contact/index.js Normal file
View File

@@ -0,0 +1 @@
var a=require("../../utils/request");Page({data:{addr:"",content:"",gs:"",name:"",phone:""},onShow:function(){},onLoad:function(t){var n=this,e=t.openid;a.request({url:"/index.php?s=/api/api/phone",method:"GET",showLoading:!1,data:{openid:e}}).then((function(a){console.log(a),n.setData({addr:a.data.data.addr,content:a.data.data.content,gs:a.data.data.gs,name:a.data.data.name,phone:a.data.data.phone})})).catch((function(a){console.log("ERROR")}))}});