Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
pptist
Commits
67aa87a6
Commit
67aa87a6
authored
May 28, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/viitto/pptist
parents
6b68749e
a96aa650
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
UserService.ts
src/services/UserService.ts
+3
-3
Index.vue
src/views/UserCenter/Index.vue
+2
-2
No files found.
src/services/UserService.ts
View file @
67aa87a6
...
@@ -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
src/views/UserCenter/Index.vue
View file @
67aa87a6
...
@@ -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);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment