<?php
/** App登录控制器
 * @Copyright (C) 2016 汉潮 All rights reserved.
 * @License http://www.hanchao9999.com
 * @Author xiaoq <xiaoq@570035208.com>
 */

namespace Uapp\Controller;
class DpController extends BaseController {
	public function _initialize(){
        	parent::_initialize ();
    	}
	/**
	 * 获取订单下评论列表
	 */
	public function index(){
		$param = I('param.');
		$result = D('Wxsmall/Dp')->index($param);
		$this->ajaxReturn($result);
	}
	public function add_dp(){
		$param = I('param.');
		$result = D('Wxsmall/Dp')->add_dp($param);
		$this->ajaxReturn($result);
	}
}