| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- <?php
- /**
- * 厦门云联储网络科技有限公司
- * https://www.baokuaiyun.com
- * Copyright (c) 2023 爆块云 All rights reserved.
- */
- namespace app\models;
- use yii\behaviors\TimestampBehavior;
- /**
- * Class StoreMini
- * @package app\models
- * @property integer $id
- * @property integer $store_id
- * @property string $name
- * @property string $code
- * @property integer $code_type
- * @property string $legal_persona_wechat
- * @property string $legal_persona_name
- * @property integer $status
- * @property string $msg
- * @property string $mini_info
- * @property string $auth_code
- * @property string $authorization_info
- * @property string $appid
- * @property string $authorizer_access_token
- * @property string $authorizer_refresh_token
- * @property string $apply_mini_info
- * @property integer $mini_up
- * @property integer $is_cancle
- * @property string $mini_url
- * @property string $mini_up_error
- * @property integer $apply_name_status
- * @property string $apply_name
- * @property string $apply_name_error
- * @property integer $is_use
- * @property string $template_id
- * @property string $user_version
- * @property string $user_desc
- * @property string $ext
- * @property string $categories
- * @property string $signature
- * @property string $mini_nickname
- * @property string $license_pic
- * @property integer $merchant_id
- * @property integer $is_set_web
- * @property integer $qrcode_id
- * @property integer $fail_time
- * @property string $nickname_audit_id
- * @property string $nickname_audit_data
- * @property string $audit_id
- * @property integer $bind_food_qr
- * @property string $created_at
- * @property string $updated_at
- * @property integer $is_self
- * @property string $app_secret
- * @property string $webview_domain_name
- **/
- class StoreWeChatSharer extends \yii\db\ActiveRecord
- {
- /**
- * @var mixed|null
- */
- public $mini_info;
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%store_wechat_sharer}}';
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['id', 'store_id', 'code_type', 'status', 'mini_up', 'is_cancle', 'apply_name_status',
- 'is_use', 'merchant_id', 'is_set_web', 'qrcode_id', 'fail_time', 'bind_food_qr', 'is_self'], 'integer'],
- [["nickname_audit_id", "license_pic", "mini_nickname", "signature", "categories",
- 'apply_name', 'name', 'code', 'legal_persona_wechat', 'legal_persona_name', 'msg',
- "mini_info", "auth_code", "authorization_info", "appid", "authorizer_access_token",
- "authorizer_refresh_token", "apply_mini_info", "mini_url", "mini_up_error", "apply_name_error",
- "template_id", "user_version", "user_desc", "ext", "nickname_audit_data", "audit_id", 'app_secret', 'webview_domain_name'], 'string'],
- [['created_at', 'updated_at'], 'safe']
- ];
- }
- public function behaviors()
- {
- return [
- [
- 'class' => TimestampBehavior::class,
- ]
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => "ID",
- 'store_id' => "商城ID",
- 'name' => "企业名称",
- 'code' => "企业代码",
- 'code_type' => "企业代码类型(1:统一社会信用代码, 2:组织机构代码,3:营业执照注册号)",
- 'legal_persona_wechat' => "法人微信",
- 'legal_persona_name' => "法人姓名",
- 'status' => "申请状态",
- 'msg' => "申请状态信息",
- "mini_info" => "小程序信息",
- "auth_code" => "小程序授权码",
- "authorization_info" => "授权信息",
- "appid" => "appid",
- "authorizer_access_token" => "接口调用令牌",
- "authorizer_refresh_token" =>"接口刷新令牌",
- "apply_mini_info" => "申请小程序信息",
- "mini_up" => "代码上传状态",
- "is_cancle" => "是否取消授权",
- "mini_url" => "小程序码",
- 'mini_up_error' => "代码审核失败原因",
- "apply_name_status" => "申请名称状态",
- "apply_name" => "申请名称",
- "apply_name_error" => "失败原因",
- "is_use" => "是否暂停服务",
- "template_id" => "小程序模版ID",
- "user_version" => "小程序版本号",
- "user_desc" => "代码描述",
- "ext" => "ext",
- "categories" => "已有分类",
- "signature" => "简介",
- "license_pic" => "营业执照",
- "merchant_id" => "商户信息ID",
- "is_set_web" => "是否设置服务器域名",
- "qrcode_id" => "小程序二维码ID",
- "fail_time" => "失败返回时间",
- "nickname_audit_id" => "名称申请单ID",
- "nickname_audit_data" => "名称审核数据",
- "audit_id" => "审核单ID",
- "bind_food_qr" => "是否绑定点餐码",
- "created_at" => "",
- "updated_at" => "",
- 'is_self' => '是否自研',
- 'app_secret' => '',
- 'webview_domain_name' => '业务域名'
- ];
- }
- }
|