123456789101112131415161718192021222324252627282930313233 |
- <?php
- /**
- * AddressController.php UTF-8
- * H5 WAP 地址管理
- *
- * @date : 2018/4/27 17:39
- *
- * @license 这不是一个自由软件,未经授权不许任何使用和传播。
- * @author : liuhongliang <lhl@huosdk.com>
- * @version : HUOSDK 8.0
- */
- namespace h5wap\wap\controller;
- use h5wap\common\controller\V2BaseController;
- use huo\controller\address\Address;
- class AddressController extends V2BaseController {
- public function _initialize() {
- parent::_initialize();
- }
- /**
- * H5WAP地址列表
- * http://doc.1tsdk.com/138?page_id=3269
- * 【域名】/wap/address/list
- */
- public function index() {
- $_parent_id = $this->request->param('parent_id/d', 0);
- $_rdata = (new Address())->getRegionData($_parent_id);
- $this->returnData($_rdata);
- }
- }
|