Commit 357eff32 authored by suichenguang's avatar suichenguang

push

parent 6b93540d
......@@ -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
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