Last active
March 16, 2016 15:14
-
-
Save Mooophy/88283a2a2a1e84c05cbe to your computer and use it in GitHub Desktop.
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
| var UserDetail = $resource('/api/Users', null, { | |
| 'update': { method: 'PUT' } | |
| }); | |
| UserDetail.update({ | |
| 'UserId': 'b1d9d320-15cc-4d44-ad4d-9bd57d48ecd5', | |
| 'NickName': '王月' | |
| }, function (data) { | |
| console.log(data); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment