2 Star 1 Fork 0

xd435 / 豆豆云助教_学生端

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
config.js 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
sin 提交于 2023-06-03 15:55 . 完成了阿里云的移植
/**
* 小程序配置文件
*/
// var host = "https://pingshif.applinzi.com/"
// var apiUrl = "https://pingshif.applinzi.com/api"
// var host = "https://zjgsdxxcx.applinzi.com/"
// var apiUrl = "https://zjgsdxxcx.applinzi.com/index.php/Api/Gateway/route"
var appid = wx.getAccountInfoSync().miniProgram.appId
// var host = "http://39.101.71.147/doudouyun"
// var apiUrl = "http://39.101.71.147/doudouyun/index.php/Api/Gateway/route"
var host = "http://39.101.71.147/doudouyun"
var apiUrl = "http://39.101.71.147/doudouyun/index.php/Api/Gateway/route"
// var host = "http://127.0.0.1/2/"
// var apiUrl = "http://127.0.0.1/2/index.php/Api/Gateway/route"
var config = {
// 下面的地址配合云端 Server 工作
host,
apiUrl,
appid,
imgUploadUrl: `${host}/index.php/Api/Img/uploadOne`,
// 登录地址,用于建立会话
loginUrl: `${host}/index.php/Api/Weixin/login_v2`,
// check check_3rdsession地址,用于验证
check3RdUrl: `${host}/index.php/Api/Weixin/check_3rdsession`,
getUserTelUrl: `${host}/index.php/Api/Weixin/get_user_tel`,
setSessionUrl: `${host}/index.php/Api/Weixin/setOpenid`,
setSessionUrl: `${host}/index.php/Api/Weixin/getOpenid`
};
module.exports = config
1
https://gitee.com/xd435/doudou_stu.git
git@gitee.com:xd435/doudou_stu.git
xd435
doudou_stu
豆豆云助教_学生端
master

搜索帮助