Commit 67aa87a6 authored by zhengke's avatar zhengke

Merge branch 'master' of http://gitlab.oytour.com/viitto/pptist

parents 6b68749e a96aa650
...@@ -132,8 +132,8 @@ class UserServices { ...@@ -132,8 +132,8 @@ class UserServices {
} }
//测试接口方法 //测试接口方法
static async TestMethodAsync(cmdStr: string, postMsg: string): Promise<HttpResponse> { // static async TestMethodAsync(cmdStr: string, postMsg: string): Promise<HttpResponse> {
return Api.Post(cmdStr, postMsg) // return Api.Post(cmdStr, postMsg)
} // }
} }
export default UserServices; export default UserServices;
\ No newline at end of file
...@@ -136,8 +136,8 @@ const testMethod = async ()=>{ ...@@ -136,8 +136,8 @@ const testMethod = async ()=>{
} }
if(cmd&&cmd!=''){ if(cmd&&cmd!=''){
const response = await UserServices.TestMethodAsync(cmd,postMsg); // const response = await UserServices.TestMethodAsync(cmd,postMsg);
console.log("testMethod",response); // console.log("testMethod",response);
} }
} }
......
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