| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- <?php
- /**
- * 厦门云联储网络科技有限公司
- * https://www.baokuaiyun.com
- * Copyright (c) 2023 爆块云 All rights reserved.
- */
- namespace app\models;
- use app\utils\Notice\NoticeSend;
- use yii\behaviors\TimestampBehavior;
- /**
- * Class StoreAliMini
- * @package app\models
- * @property integer $id
- * @property string $wechat_open_id
- * @property string $wechat_platform_open_id
- * @property string $ali_openId
- * @property string $ali_user_id
- * @property integer $store_id
- * @property integer $type
- * @property integer $saas_id
- * @property integer $is_delete
- * @property string $created_at
- * @property string $updated_at
- *
- *
- **/
- class UserLockStoreLog extends \yii\db\ActiveRecord
- {
- const TYPE_H5 = 0;//h5来源
- const TYPE_WX = 1;//微信来源
- const TYPE_ALI = 2;//支付宝来源
- const TYPE_APP = 3;//APP来源
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%user_lock_store_log}}';
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['id', 'store_id', 'type', 'saas_id', 'is_delete'], 'integer'],
- [['created_at', 'updated_at', 'wechat_open_id', 'ali_openId', 'ali_user_id', 'wechat_platform_open_id'], 'string']
- ];
- }
- public function behaviors()
- {
- return [
- [
- 'class' => TimestampBehavior::class
- ]
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => '',
- 'wechat_open_id' => '微信openid',
- 'wechat_platform_open_id' => '微信公众号openid',
- 'ali_openId' => '支付宝openid',
- 'ali_user_id' => '支付宝userid',
- 'store_id' => '绑定店铺',
- 'type' => '来源:0:h5 1:微信 2:支付宝',
- 'saas_id' => '绑定的saas_id',
- 'is_delete' => '是否删除',
- 'created_at' => '',
- 'updated_at' => '',
- ];
- }
- }
|