method-get-service.js 498 B

12345678910111213141516171819
  1. /**
  2. * 公用GET请求
  3. * chenchuang
  4. * 20201019
  5. */
  6. var MethodGetService={
  7. methodGet:function(url){
  8. var ret = null;
  9. var functionUrl = url;
  10. ServiceOperation.send(ServiceOperation.MethodGet, ServiceOperation.getFullUrl(functionUrl),"", false, function(data){
  11. if(!data.success){
  12. DialogOperation.alertDialog(data.message);
  13. }else{
  14. ret = data.result;
  15. }
  16. }, false, false);
  17. return ret;
  18. }
  19. }