function mdl_memberattr() { parent::shopObject(); $data = $this->db->select("select attr_id from sdb_member_attr where attr_group = 'defalut' "); if (count($data) == 0) { $this->import_defalutattr(); } }
function mdl_po() { parent::shopObject(); $this->_tolken = $this->system->getConf('certificate.token'); // $this->_tolken = '00002'; // $this->system->setConf('certificate.id', "20000"); $this->api_utility =& $this->system->api_call(PLATFORM, PLATFORM_HOST, PLATFORM_PATH, PLATFORM_PORT, $this->_tolken); }
function mdl_trigger() { parent::shopObject(); $this->trigger_points = array('trading/order' => __('订单'), 'member/account' => __('会员')); $this->listeners = $this->system->getConf('system.event_listener'); }
function mdl_order_po() { parent::shopObject(); $this->_token = $this->system->getConf('certificate.token'); }
function mdl_addons() { parent::shopObject(); $this->alltypes = array('io' => __('输入输出'), 'schema' => __('商品插件'), 'hook' => __('事件处理'), 'pmt' => __('优惠规则'), 'local' => __('地区插件'), 'messenger' => __('消息发送'), 'pay' => __('支付插件'), 'passport' => __('登陆插件'), 'action' => __('网店机器人动作')); }