50], [['merchantName', 'password', 'logo', 'wxAppId', 'wxAppSecret', 'wxQrcodeUrl', 'gatheringQrcodeUrl'], 'string', 'max' => 100], [['wxToken', 'wxJsApiTicket', 'wxAccessToken', 'wxRefreshToken'], 'string', 'max' => 500], [['shopProvince', 'shopCity', 'shopDist', 'shopAddress', 'shopLat', 'shopLong', 'shopPrecision'], 'string', 'max' => 20], [['shopPhotoList'], 'string', 'max' => 1000], [['account'], 'unique'], [['merchantName'], 'unique'], ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'id' => 'ID', 'account' => 'Account', 'merchantName' => 'Merchant Name', 'password' => 'Password', 'manageStyle' => 'Manage Style', 'accountStyle' => 'Account Style', 'logo' => 'Logo', 'adminId' => 'Admin ID', 'wxAppId' => 'Wx App ID', 'wxAppSecret' => 'Wx App Secret', 'wxUserName' => 'Wx User Name', 'wxAliasName' => 'Wx Alias Name', 'wxQrcodeUrl' => 'Wx Qrcode Url', 'gatheringQrcodeUrl' => 'Gathering Qrcode Url', 'wxToken' => 'Wx Token', 'wxJsApiTicket' => 'Wx Js Api Ticket', 'wxJsApiTicketExpire' => 'Wx Js Api Ticket Expire', 'wxAccessToken' => 'Wx Access Token', 'wxAccessTokenTime' => 'Wx Access Token Time', 'wxRefreshToken' => 'Wx Refresh Token', 'shopName' => 'Shop Name', 'shopProvince' => 'Shop Province', 'shopCity' => 'Shop City', 'shopDist' => 'Shop Dist', 'shopAddress' => 'Shop Address', 'shopLat' => 'Shop Lat', 'shopLong' => 'Shop Long', 'shopPrecision' => 'Shop Precision', 'shopPhotoList' => 'Shop Photo List', 'agentLevel' => 'Agent Level', 'status' => 'Status', 'createTime' => 'Create Time', 'updateTime' => 'Update Time', ]; } }