Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_REFACTORING
Project
Project
Details
Activity
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
zhangyusheng
YX_IDENT_REFACTORING
Commits
357eff32
Commit
357eff32
authored
Jan 09, 2019
by
suichenguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
6b93540d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
service.js
src/main/resources/static/js/services/service.js
+21
-0
No files found.
src/main/resources/static/js/services/service.js
View file @
357eff32
...
...
@@ -712,6 +712,26 @@ app.service('MessageService', function (ngDialog) {
MessageService
.
httpRequestFailed
(
JSON
.
stringify
(
errA
))
})
},
querySpecialCardInfo
:
function
(
cardid
,
success
)
{
console
.
log
(
cardid
,
"----------cardid---------"
)
$http
({
method
:
'GET'
,
url
:
"../specialCardInfo/selectByCard"
+
urlTimeStamp
(),
params
:{
id
:
cardid
}
}).
then
(
function
successCallback
(
response
)
{
console
.
log
(
response
.
data
,
"-------------response.data------"
)
success
(
response
.
data
)
},
function
(
err
){
console
.
log
(
"error111111111111111111"
)
// DebugService.debug("$http error:", err)
// DebugService.debug("----------------------------------------------")
var
errA
=
{
Error
:
true
,
ReturnCode
:
err
.
status
,
ReturnMsg
:
"API访问返回错误"
}
MessageService
.
httpRequestFailed
(
JSON
.
stringify
(
errA
))
})
}
}
}])
\ No newline at end of file
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