示例#1
0
 public function init()
 {
     OrderController::$status = array('' => '全部') + Doo::conf()->wxStatus;
     Doo::loadClassAt('City', 'default');
     OrderController::$dataTableUrl = adminAppUrl('operation/order/dataTable');
     OrderController::$addUrl = adminAppUrl('operation/order/add');
     OrderController::$modUrl = adminAppUrl('operation/order/mod?id=');
     OrderController::$delUrl = adminAppUrl('operation/order/del?id=');
     OrderController::$city = '<select class="m-wrap" name="city" id="city-element"><option value="0">' . L('顶级城市') . '</option>' . City::cateToOption($this->getUrlVar('city'), false) . '</select>';
 }