Home > Net >  A angularjs write the front end of the page and how to connect to run an API project?
A angularjs write the front end of the page and how to connect to run an API project?

Time:09-27




Two files are separated, how can the right to run the program?

CodePudding user response:

Use nginx

CodePudding user response:

 GetAttendanceRecord: function () {
Return the $HTTP ({
Url: ", "
Data: {

ParamData: presents toJson ({
Ucode: re SearchConditions ucode,
Menucode: re SearchConditions menucode,
Page: re. SearchConditions. Page,
Keywords: re. SearchConditions. Keywords
})
},
Method: "POST",
ResponseData: "json"
})
}

$HTTP request data
To flip presents documents

CodePudding user response:

Write $HTTP in the controller, or factory management function $HTTP requests, the controller. Then () get request again love zha zha ground as a result
  • Related