|
@@ -5,18 +5,18 @@ var actApi = {
|
|
|
uid: 12138,
|
|
|
baseUrl: '', // 公用地址
|
|
|
// ↓其他接口的地址
|
|
|
-
|
|
|
+ xxx: ''
|
|
|
},
|
|
|
|
|
|
portsTemplate: function() {
|
|
|
return new MyPromise(function(resolve, reject) {
|
|
|
comm.ajax({
|
|
|
type: 'GET',
|
|
|
- url: actApi.data.baseUrl + '',
|
|
|
+ url: actApi.data.baseUrl + actApi.xxx,
|
|
|
data: {
|
|
|
|
|
|
},
|
|
|
- success: function() { resolve() }
|
|
|
+ success: function(res) { resolve(res) }
|
|
|
})
|
|
|
})
|
|
|
}
|