添加子集选择时的登录判断
This commit is contained in:
parent
9b83ce6a8c
commit
13f64c4601
|
@ -1107,6 +1107,12 @@ class DataController extends Zend_Controller_Action
|
|||
$this->_helper->layout->disableLayout();
|
||||
$this->_helper->viewRenderer->setNoRender();
|
||||
|
||||
if(empty(view::User('id')))
|
||||
{
|
||||
$this->jsonexit(array("error"=>'please login first'));
|
||||
return true;
|
||||
}
|
||||
|
||||
$uuid = $this->_getParam("uuid");
|
||||
$basin = $this->getParam("basin");
|
||||
$mountain = $this->getParam("mountain");
|
||||
|
|
|
@ -173,7 +173,7 @@
|
|||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" onclick="westdc.dataservice.geoData()" class="btn btn-success">Apply</button>
|
||||
<button type="button" onclick="westdc.dataservice.geoData()" class="btn btn-success">Order</button>
|
||||
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue