Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于前端AJAX数据规范 #7

Open
huoji555 opened this issue Mar 30, 2018 · 1 comment
Open

关于前端AJAX数据规范 #7

huoji555 opened this issue Mar 30, 2018 · 1 comment

Comments

@huoji555
Copy link
Owner

No description provided.

@huoji555 huoji555 changed the title 关于前端AJAX规范 关于前端AJAX数据规范 Mar 30, 2018
@huoji555
Copy link
Owner Author

本项目中规定标准的AJAX数据规范如下:
$ajax({
type : "post",
data : data,
dataType : "json",
contentType : "application/json",
url : "RequestURL",

     success : function (data){
               //  do something what you want to fucking do
      },
 
    error : function (data) {
            //   got it!        
     },

});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant