main
liudan 1 year ago
parent 6398692345
commit caebed7c78
  1. 6
      app.js
  2. 4
      page/begin/begin.js
  3. 2
      page/constitutionGrade/constitutionGrade.js
  4. 2
      page/record/record.js
  5. 2
      page/shetai/shetai.js
  6. 2
      page/shetai/shetai.wxml

@ -3,8 +3,8 @@ App({
//请不要修改 /addons/cms/wxapp.这部分,只允许修改域名部分
//请注意小程序只支持https
//apiUrl: 'https://demo.fastadmin.net/addons/cms/wxapp.',
apiUrl: 'https://mini.nanjingchuangyou.com/addons/cms/wxapp.',
apiCommonUrl: 'https://mini.nanjingchuangyou.com/',
apiUrl: 'https://tzcs.njrenzhou.cn/addons/cms/wxapp.',
apiCommonUrl: 'https://tzcs.njrenzhou.cn/',
si: 0,
//小程序启动
onLaunch: function() {
@ -387,6 +387,6 @@ App({
indexTabList: [],
newsTabList: [],
productTabList: [],
apiCommonUrl:'https://mini.nanjingchuangyou.com/'
apiCommonUrl:'https://tzcs.njrenzhou.cn/'
}
})

@ -9,7 +9,7 @@ Page({
*/
data: {
total:0,
apiUrl: 'https://mini.nanjingchuangyou.com/addons/cms/wxapp.',
apiUrl: 'https://tzcs.njrenzhou.cn/addons/cms/wxapp.',
},
/**
@ -251,6 +251,6 @@ Page({
indexTabList: [],
newsTabList: [],
productTabList: [],
apiCommonUrl:'https://mini.nanjingchuangyou.com/'
apiCommonUrl:'https://tzcs.njrenzhou.cn/'
}
})

@ -57,7 +57,7 @@ Page({
},
addHandle(){
wx.request({
url: 'https://mini.nanjingchuangyou.com/api/mini/viewUser',
url: 'https://tzcs.njrenzhou.cn/api/mini/viewUser',
method:'POST',
header: {
'content-type': 'application/x-www-form-urlencoded',

@ -69,7 +69,7 @@ Page({
},
getdata(){
wx.request({
url: 'https://mini.nanjingchuangyou.com/api/mini/viewList',
url: 'https://tzcs.njrenzhou.cn/api/mini/viewList',
method:'POST',
header: {
'content-type': 'application/x-www-form-urlencoded',

@ -19,7 +19,7 @@ Page({
let filePath = res.tempFilePaths[0]
wx.uploadFile({
filePath: filePath,
url: 'https://mini.nanjingchuangyou.com/api/common/upload',
url: 'https://tzcs.njrenzhou.cn/api/common/upload',
name: 'file',
timeout:5000,
formData:{

@ -6,7 +6,7 @@
<view class="picimg">
<view class="shetaipiccontent">
<image src="../../assets/images/pic.png" mode="widthFix" class="shetaipic" wx:if="{{imgPath==''}}"></image>
<image src="https://mini.nanjingchuangyou.com{{imgPath}}" mode="heightFix" wx:else></image>
<image src="https://tzcs.njrenzhou.cn{{imgPath}}" mode="heightFix" wx:else></image>
</view>
<view class="btngrounp">
<view class="uploadbtn" bindtap="getimg">上传照片</view>

Loading…
Cancel
Save