login-api.js 375 B

12345678910111213141516
  1. (function(){
  2. var loginApis = {
  3. login: function(data) {
  4. return APIService.httpPost('login/doctor',{data: data})
  5. },
  6. publicKey: function(data) {
  7. return APIService.httpPost('login/public_key',{data: data})
  8. },
  9. getCaptcha: function(data) {
  10. return APIService.httpPost('common/captcha',{data: data})
  11. }
  12. };
  13. window.loginApis = loginApis;
  14. })(jQuery)