Blame view

service/encapsulation.js 501 Bytes
bb09ac81   wangming   DEV初始化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  // const host = 'http://8.130.163.46:8091/'; //这个是你们的接口域名
  // const api = {
  // 	getClickNum: host + 'api/ReservationSettings/SettingReservation' //接口进行拼接
  // }
  // module.exports = api;//导出方式
  // fetch(url, data, callback) {
  // 	uni.request({
  // 		url,
  // 		data,
  // 		header: {//地址返回的结果
  // 			'Content-Type': 'application/json'
  // 		},
  // 		success(res) {
  // 			callback(null, res.data);
  // 		},
  // 		fail(e) {
  // 			callback(e);
  // 		}
  // 	})
  // },