Home > Back-end >  When using anglar1.0 js layer in the same directory: why the path of the different projects
When using anglar1.0 js layer in the same directory: why the path of the different projects

Time:03-03

WEB user application layer
App. Service (' userService ', function ($HTTP) {

//read list data binding to form
Enclosing the.findall=function () {
Return the $HTTP get ('../user/the.findall. Do ');
}

Seconds kill order
App. Service (' payService ', function ($HTTP) {
//local pay
Enclosing createNative=function () {
Return $HTTP get (' pay/createNative. Do ');
}
//query pay state
Enclosing queryPayStatus=function (out_trade_no) {
Return the $HTTP get (' pay/queryPayStatus. Do? Out_trade_no='+ out_trade_no);
}

});




  • Related