Keven Wang

Results 6 comments of Keven Wang

> android的有些依赖需要手工安装的 哥们,你这很多处都编译不通过呀?

入口文件:LazyWaimai-Web/web/index.php

@byebai1217 看你的截图你运行的不是LazyWaimai-Web项目,而是运行的LazyWaimai-Api项目吧?请先确认?

@guang 默认账号:用户名admim,密码123456

@guangxush 我认为可能有如下原因: 1. 是打开的项目不对 2. 服务器的webroot指向不对 LazyWaimai-Web项目的全局访问入口是: ``` http://{服务器地址}:{端口号}/LazyWaimai-Web/web/index.php ``` 打开后,如果未登录,会自动跳转到登录页面,你看到的应该如下图所示: ![image](https://user-images.githubusercontent.com/19250804/56260248-1d8eab80-6109-11e9-8c42-83217a3960d4.png) LazyWaimai-Api项目由于是只作为API端为Android app提供数据,所以没有UI界面,但Yii2框架会有默认的示例界面,就像 @byebai1217 所截图的那样,但这些UI界面没有任何作用,请忽略。而LazyWaimai-Web是没有这些界面的,所以出现了下图的界面,有可能你打开的项目不对。 ![image](https://user-images.githubusercontent.com/19250804/56261172-95120a00-610c-11e9-8c04-7737721bc487.png) LazyWaimai-Api的访问商家API的接口地址示例: ``` http://{服务器地址}:{端口号}/LazyWaimai-Api/web/v1/businesses ``` 如果不出意外,会出现下面的内容: ![image](https://user-images.githubusercontent.com/19250804/56261228-cee31080-610c-11e9-88d1-e6c8e73c9084.png)