Commit 7ca7cb55 authored by wwccw0591's avatar wwccw0591

pc

parent 968062ac
......@@ -17,6 +17,9 @@ abstract class Controller_AbstractClient extends \Our\Controller_Abstract {
public $key;
public $req;
public $memberId;
public $storeId;
public $sellerName;
public $sellerId;
/**
* api控制器直接输出json格式数据,不需要渲染视图
*/
......@@ -32,6 +35,8 @@ abstract class Controller_AbstractClient extends \Our\Controller_Abstract {
$sess->start();
$this->memberId=$sess->get('member_id');
$this->storeId=$sess->get('store_id');
$this->sellerName=$sess->get('seller_name');
$this->sellerId=$sess->get('seller_id');
if(empty($this->memberId)){
ErrorModel::throwException(CodeConfigModel::noLogin);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment