1
This commit is contained in:
@@ -2,7 +2,7 @@ import http from "@/libs/http";
|
||||
|
||||
class SysAdServer {
|
||||
async getAll(param) {
|
||||
return await window.framework.httpget("/sys_ad/index", param);
|
||||
return await window.framework.http.get("/sys_ad/index", param);
|
||||
}
|
||||
|
||||
async add(row) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
class ai_messagesClServer {
|
||||
async all(param) {
|
||||
let res= await window.framework.httpget('/ai_messages/all', param);
|
||||
let res= await window.framework.http.get('/ai_messages/all', param);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
class gamesClServer {
|
||||
async all(param) {
|
||||
let res= await window.framework.httpget('/gme_games/all', param);
|
||||
let res= await window.framework.http.get('/gme_games/all', param);
|
||||
return res;
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ class gamesClServer {
|
||||
}
|
||||
|
||||
async statistics() {
|
||||
let res = await window.framework.httpget('/gme_games/statistics', {});
|
||||
let res = await window.framework.http.get('/gme_games/statistics', {});
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
class paymentOrdersClServer {
|
||||
async all(param) {
|
||||
let res= await window.framework.httpget('/pay_orders/all', param);
|
||||
let res= await window.framework.http.get('/pay_orders/all', param);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
class venuesClServer {
|
||||
async all(param) {
|
||||
let res= await window.framework.httpget('/ven_venues/all', param);
|
||||
let res= await window.framework.http.get('/ven_venues/all', param);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
class walletTransactionsClServer {
|
||||
async all(param) {
|
||||
let res= await window.framework.httpget('/wch_wallet_transactions/all', param);
|
||||
let res= await window.framework.http.get('/wch_wallet_transactions/all', param);
|
||||
return res;
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ class walletTransactionsClServer {
|
||||
}
|
||||
|
||||
async detail(id) {
|
||||
let res= await window.framework.httpget('/wch_wallet_transactions/detail', { id });
|
||||
let res= await window.framework.http.get('/wch_wallet_transactions/detail', { id });
|
||||
return res;
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ class walletTransactionsClServer {
|
||||
}
|
||||
|
||||
async statistics() {
|
||||
let res = await window.framework.httpget('/wch_wallet_transactions/statistics', {});
|
||||
let res = await window.framework.http.get('/wch_wallet_transactions/statistics', {});
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
class walletsClServer {
|
||||
async all(param) {
|
||||
let res= await window.framework.httpget('/wch_wallets/all', param);
|
||||
let res= await window.framework.http.get('/wch_wallets/all', param);
|
||||
return res;
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ class walletsClServer {
|
||||
}
|
||||
|
||||
async statistics() {
|
||||
let res = await window.framework.httpget('/wch_wallets/statistics', {});
|
||||
let res = await window.framework.http.get('/wch_wallets/statistics', {});
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
class wch_usersClServer {
|
||||
async all(param) {
|
||||
let res= await window.framework.httpget('/wch_users/all', param);
|
||||
let res= await window.framework.http.get('/wch_users/all', param);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
class infoClServer {
|
||||
async all(param) {
|
||||
let res= await window.framework.httpget('/inf_info/all', param);
|
||||
let res= await window.framework.http.get('/inf_info/all', param);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
class info_typeClServer {
|
||||
async all(param) {
|
||||
let res= await window.framework.httpget('/inf_info_type/all', param);
|
||||
let res= await window.framework.http.get('/inf_info_type/all', param);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,22 +2,22 @@ import http from "@/libs/http";
|
||||
class HomeServer {
|
||||
// 获取订单统计
|
||||
async getOderCount() {
|
||||
let res = await window.framework.httpget("/order/count");
|
||||
let res = await window.framework.http.get("/order/count");
|
||||
return res;
|
||||
}
|
||||
|
||||
async getUserCount() {
|
||||
let res = await window.framework.httpget("/user/count");
|
||||
let res = await window.framework.http.get("/user/count");
|
||||
return res;
|
||||
}
|
||||
|
||||
async getSalesRank() {
|
||||
let res = await window.framework.httpget("/index/salesRank");
|
||||
let res = await window.framework.http.get("/index/salesRank");
|
||||
return res;
|
||||
}
|
||||
|
||||
async userRecommendRank() {
|
||||
let res = await window.framework.httpget("/index/userRecommendRank");
|
||||
let res = await window.framework.http.get("/index/userRecommendRank");
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
class ntr_questionsClServer {
|
||||
async all(param) {
|
||||
let res= await window.framework.httpget('/ntr_questions/all', param);
|
||||
let res= await window.framework.http.get('/ntr_questions/all', param);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
class ntr_recordsClServer {
|
||||
async all(param) {
|
||||
let res= await window.framework.httpget('/ntr_records/all', param);
|
||||
let res= await window.framework.http.get('/ntr_records/all', param);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
class transfer_detailsClServer {
|
||||
async all(param) {
|
||||
let res= await window.framework.httpget('/transfer_details/all', param);
|
||||
let res= await window.framework.http.get('/transfer_details/all', param);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import http from '@/libs/http'
|
||||
class RolePermissionServer {
|
||||
async getRoles(callback) {
|
||||
let res = await window.framework.httpget('/SysRolePermission/Query', {})
|
||||
let res = await window.framework.http.get('/SysRolePermission/Query', {})
|
||||
return res
|
||||
}
|
||||
|
||||
async getRole(row) {
|
||||
let res = await window.framework.httpget('/SysRolePermission/QueryByRoleId', row)
|
||||
let res = await window.framework.http.get('/SysRolePermission/QueryByRoleId', row)
|
||||
return res
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import http from "@/libs/http";
|
||||
class RoleServer {
|
||||
async list() {
|
||||
let res = await window.framework.httpget("/sys_role/index", {});
|
||||
let res = await window.framework.http.get("/sys_role/index", {});
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import http from "@/libs/http";
|
||||
class SysAddress {
|
||||
async index(param) {
|
||||
let res = await window.framework.httpget("/sys_address/index", param);
|
||||
let res = await window.framework.http.get("/sys_address/index", param);
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import http from "@/libs/http";
|
||||
class SysModuleServer {
|
||||
async all() {
|
||||
let res = await window.framework.httpget("/sys_menu/all", {});
|
||||
let res = await window.framework.http.get("/sys_menu/all", {});
|
||||
return res;
|
||||
}
|
||||
|
||||
async list(row) {
|
||||
let res = await window.framework.httpget("/sys_menu/all", row);
|
||||
let res = await window.framework.http.get("/sys_menu/all", row);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,27 +1,27 @@
|
||||
import http from "@/libs/http";
|
||||
class SysLogServe {
|
||||
async all(param) {
|
||||
let res = await window.framework.httpget("/sys_log/all", param);
|
||||
let res = await window.framework.http.get("/sys_log/all", param);
|
||||
return res;
|
||||
}
|
||||
|
||||
async detail(param) {
|
||||
let res = await window.framework.httpget("/sys_log/detail", param);
|
||||
let res = await window.framework.http.get("/sys_log/detail", param);
|
||||
return res;
|
||||
}
|
||||
|
||||
async delete(param) {
|
||||
let res = await window.framework.httpget("/sys_log/delete", param);
|
||||
let res = await window.framework.http.get("/sys_log/delete", param);
|
||||
return res;
|
||||
}
|
||||
|
||||
async delete_all(param) {
|
||||
let res = await window.framework.httpget("/sys_log/delete_all", param);
|
||||
let res = await window.framework.http.get("/sys_log/delete_all", param);
|
||||
return res;
|
||||
}
|
||||
|
||||
async operates(param) {
|
||||
let res = await window.framework.httpget("/sys_log/operates", param);
|
||||
let res = await window.framework.http.get("/sys_log/operates", param);
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
class systemTypeClServer {
|
||||
async all(param) {
|
||||
let res= await window.framework.httpget('/sys_project_type/all', param);
|
||||
let res= await window.framework.http.get('/sys_project_type/all', param);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import http from '@/libs/http'
|
||||
class TableServer {
|
||||
async getAll(callback) {
|
||||
return await window.framework.httpget('/table/index', {})
|
||||
return await window.framework.http.get('/table/index', {})
|
||||
}
|
||||
|
||||
async add(row, callback) {
|
||||
@@ -19,11 +19,11 @@ class TableServer {
|
||||
}
|
||||
|
||||
async autoApi(id) {
|
||||
return await window.framework.httpget('/template/api', { id: id })
|
||||
return await window.framework.http.get('/template/api', { id: id })
|
||||
}
|
||||
|
||||
async autoDb(id) {
|
||||
return await window.framework.httpget('/template/autoDb', { id: id })
|
||||
return await window.framework.http.get('/template/autoDb', { id: id })
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ class UserServer {
|
||||
}
|
||||
|
||||
async all() {
|
||||
let res = await window.framework.httpget("/sys_user/index", {});
|
||||
let res = await window.framework.http.get("/sys_user/index", {});
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import http from "@/libs/http";
|
||||
class FormFieldServer {
|
||||
async all(param) {
|
||||
let res = await window.framework.httpget("/sys_form_field/all", param);
|
||||
let res = await window.framework.http.get("/sys_form_field/all", param);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import http from "@/libs/http";
|
||||
class FormServer {
|
||||
async all(param) {
|
||||
let res = await window.framework.httpget("/sys_form/all", param);
|
||||
let res = await window.framework.http.get("/sys_form/all", param);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import http from "@/libs/http";
|
||||
|
||||
class MenuServer {
|
||||
async list(row) {
|
||||
let res = await window.framework.httpget("/sys_menu/index", row);
|
||||
let res = await window.framework.http.get("/sys_menu/index", row);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import http from "@/libs/http";
|
||||
class ModelFieldServer {
|
||||
async all(row) {
|
||||
let res = await window.framework.httpget("/sys_model_field/all", row);
|
||||
let res = await window.framework.http.get("/sys_model_field/all", row);
|
||||
return res;
|
||||
}
|
||||
|
||||
async allByKey(row) {
|
||||
let res = await window.framework.httpget("/sys_model_field/allByKey", row, {
|
||||
let res = await window.framework.http.get("/sys_model_field/allByKey", row, {
|
||||
hideLoad: true
|
||||
});
|
||||
return res;
|
||||
|
||||
@@ -6,12 +6,12 @@ class ModelServer {
|
||||
}
|
||||
|
||||
async all() {
|
||||
let res = await window.framework.httpget("/sys_model/all", {});
|
||||
let res = await window.framework.http.get("/sys_model/all", {});
|
||||
return res;
|
||||
}
|
||||
|
||||
async detail(row) {
|
||||
let res = await window.framework.httpget("/sys_model/detail", row);
|
||||
let res = await window.framework.http.get("/sys_model/detail", row);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import http from "@/libs/http";
|
||||
class ParamSetupServer {
|
||||
async getAll() {
|
||||
return await window.framework.httpget("/sys_parameter/index", {});
|
||||
return await window.framework.http.get("/sys_parameter/index", {});
|
||||
}
|
||||
|
||||
async getOne(key) {
|
||||
return await window.framework.httpget("/sys_parameter/key", { key });
|
||||
return await window.framework.http.get("/sys_parameter/key", { key });
|
||||
}
|
||||
|
||||
async add(row) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import http from "@/libs/http";
|
||||
class SysControlTypeServer {
|
||||
async all(param) {
|
||||
let res = await window.framework.httpget("/sys_control_type/all", param);
|
||||
let res = await window.framework.http.get("/sys_control_type/all", param);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
class recommend_blocksClServer {
|
||||
async all(param) {
|
||||
let res= await window.framework.httpget('/recommend_blocks/all', param);
|
||||
let res= await window.framework.http.get('/recommend_blocks/all', param);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
class user_followsClServer {
|
||||
async all(param) {
|
||||
let res= await window.framework.httpget('/user_follows/all', param);
|
||||
let res= await window.framework.http.get('/user_follows/all', param);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
class user_trackingClServer {
|
||||
async all(param) {
|
||||
let res= await window.framework.httpget('/user_tracking/all', param);
|
||||
let res= await window.framework.http.get('/user_tracking/all', param);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
class wch_citiesClServer {
|
||||
async all(param) {
|
||||
let res= await window.framework.httpget('/wch_cities/all', param);
|
||||
let res= await window.framework.http.get('/wch_cities/all', param);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user