Created
May 23, 2014 03:20
-
-
Save tsq/aa4e08db49fc7a12e0db to your computer and use it in GitHub Desktop.
a demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Statistics.query(paramForCash, function(result){ | |
if (result.length) { | |
$scope.cash = { | |
cash: (result[0].value.cash/100).toFixed(2), | |
weixin: (result[0].value.weixin/100).toFixed(2) | |
}; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment