Heim  >  Artikel  >  Backend-Entwicklung  >  基于phonegap打包的后台问题

基于phonegap打包的后台问题

WBOY
WBOYOriginal
2016-06-06 20:37:541073Durchsuche

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

回复内容:

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

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

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn