ShopController.php 441 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace pt\controllers;
  3. use bizHd\merchant\services\ShopService;
  4. use common\components\mapUtil;
  5. use common\components\util;
  6. use Yii;
  7. class ShopController extends BaseController
  8. {
  9. public function actionList()
  10. {
  11. $res = mapUtil::resolveLocation('39.984154', '116.307490');
  12. echo '<pre>';print_r($res);die;
  13. $where = [];
  14. $list = ShopService::getShopList($where);
  15. util::success($list);
  16. }
  17. }