quanwei
2 days ago 04102f7237efefa744090ed7c25f7b5d0807b679
admin/app/common/model/BaseModel.php
@@ -70,6 +70,17 @@
       self::$agent_id = $session['agent']['agent_id'];
   }
    /**
     * 设置app_id (operations模块)
     */
    protected static function setOperationsAppId()
    {
        $session = session('jjjshop_operations');
        if($session == null){
            return;
        }
        self::$app_id = $session['app']['app_id'];
    }
    /**
     * 设置app_id (api模块)
     */
    protected static function setApiAppId()