Home >Backend Development >PHP Tutorial >基于phonegap打包的后台问题

基于phonegap打包的后台问题

WBOY
WBOYOriginal
2016-06-06 20:37:541128browse

目前我基于了angualrjs做了套手机端的webapp,但时候读取数据是基于php读取数据库。在打包成apk的时候,如何调用这些数据呢?

回复内容:

目前我基于了angualrjs做了套手机端的webapp,但时候读取数据是基于php读取数据库。在打包成apk的时候,如何调用这些数据呢?

使用angularjs的http来调用php接口。
链接:https://docs.angularjs.org/api/ng/service/$http

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn