{"size": 526, "ext": "js", "max_stars_repo_path": "Public/template/assets/js/api/sysAPI.js", "max_stars_repo_name": "caorui33707/mghtb", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "Public/template/assets/js/api/sysAPI.js", "max_issues_repo_name": "caorui33707/mghtb", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Public/template/assets/js/api/sysAPI.js", "max_forks_repo_name": "caorui33707/mghtb", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.9090909091, "max_line_length": 88, "alphanum_fraction": 0.463878327}
/**
 * Created by DAY on 2017/4/15.
 */

define(["jquery"], function ($) {
    var sysAPI = {
        baseRequestUrl:"..",
        login: function (data,cb) {
            $.post(this.baseRequestUrl+"/login/dologin",data,function (result) {
                cb(result);
            })
        },
        resetPwd: function (data,cb) {
            $.post(this.baseRequestUrl+"/login/doRestPassword",data,function (result) {
                cb(result);
            })
        }

    };
    return sysAPI;
});
