Commit c4922630 by lixinming

no message

parent f11532c7
...@@ -5,4 +5,5 @@ export enum ERRORENUM { ...@@ -5,4 +5,5 @@ export enum ERRORENUM {
export enum REQUESTENUM { export enum REQUESTENUM {
get=1, get=1,
post, post,
postForm
} }
\ No newline at end of file
import { REQUESTENUM } from "../../config/enum";
import { post } from "../../util/request";
export async function getData(type, url, paramater) { export async function getData() {
await requestData();
}
async function requestData() {
let requestRestult = await post("http://192.168.0.140:7536/ydygl", {}, {});
console.log();
} }
\ No newline at end of file
import { getData } from "./data/interface/getOnceInterfaceData";
import { getPort } from "./serverConfig"; import { getPort } from "./serverConfig";
...@@ -7,7 +8,7 @@ async function lanuch() { ...@@ -7,7 +8,7 @@ async function lanuch() {
} }
function test() { function test() {
// testMaxMin(); getData()
} }
lanuch(); lanuch();
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment