文件
mashangyoujiu/Application/Retail/Model/StoreThirdConfigModel.class.php

23 行
950 B
PHP
可执行文件

<?php
namespace Retail\Model;
/**
* 门店第三方配置表
* Class StoreThirdConfigModel
* @package Retail\Model
*/
class StoreThirdConfigModel extends \Common\Model\BaseModel
{
protected $tableName = 'store_third_config';
protected $fields = array(
'id', //int(11) NOT NULL AUTO_INCREMENT,
'store_id', //int(11) DEFAULT 0 COMMENT '门店id',
'merchant_id', //int(11) DEFAULT 0 COMMENT '商户id',
'eleme_access_token', //varchar(255) DEFAULT '' COMMENT '饿了么授权的access_token',
'eleme_refresh_token', //varchar(255) DEFAULT '' COMMENT '饿了么刷新的token',
'eleme_token_begin', //int(11) DEFAULT 0 COMMENT 'access_token生效时间 有效期一般为30天',
'eleme_shop_id', //int(11) DEFAULT 0 COMMENT '饿了么店铺id',
);
}