123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- /**
- * WapController.php UTF-8
- * 小号交易页面
- *
- * @date : 2018/7/27 11:23
- *
- * @license 这不是一个自由软件,未经授权不许任何使用和传播。
- * @author : wuyonghong <wyh@huosdk.com>
- * @version : Huosdk 8.0
- */
- namespace api\accountdeal\controller;
- use api\common\controller\V2ApiBaseController;
- use huolib\constant\NewsConst;
- use huolib\status\CommonStatus;
- use huoRebate\controller\RichText;
- class WapController extends V2ApiBaseController {
- public function _initialize() {
- parent::_initialize();
- }
- /**
- * WEB-交易须知
- * http://doc.huosdk.com/138?page_id=3730
- * 【域名】/account/deal/agreement
- */
- public function index() {
- $_rt_class = new RichText();
- $_post_id = NewsConst::NEWS_ID_ACCOUNT_DEAL;
- $_data = $_rt_class->getDetail($_post_id);
- if (CommonStatus::NO_ERROR != $_data['code']) {
- $this->error($_data['msg']);
- }
- $_detail = $_data['data'];
- $this->assign('news', $_detail);
- return $this->fetch("wap/index");
- }
- }
|