接口啊 其实我是做前端的 后台不太了解一般就是后台做好api 我用angularJS调用api 设置service关于angularJS怎么设置service 你最好自己去看看学习下 会用到http的get put post等命令至于你说的跨域是指什么呢?加密我没做过