Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
token
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wallet
token
Commits
701b3ac8
Commit
701b3ac8
authored
Nov 15, 2019
by
shajiaiming
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/explore' into 'master'
fix See merge request
!197
parents
85d3ad9a
afec9469
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
ExploreApp.php
common/models/psources/ExploreApp.php
+14
-1
No files found.
common/models/psources/ExploreApp.php
View file @
701b3ac8
...
...
@@ -32,11 +32,24 @@ class ExploreApp extends BaseActiveRecord
return
[
[[
'name'
,
'icon'
,
'app_url'
,
'slogan'
,
'type'
,
'sort'
,
'status'
,
'platform_id'
,
'app_category_id'
],
'required'
],
[[
'type'
,
'sort'
,
'status'
,
'platform_id'
,
'app_category_id'
],
'integer'
],
[
'slogan'
,
'string'
,
'max'
=>
50
],
[
'slogan'
,
'string'
,
'max'
=>
50
],
[[
'icon'
],
'url'
]
];
}
public
function
attributeLabels
()
{
return
[
'name'
=>
'应用名称'
,
'icon'
=>
'应用图标'
,
'app_url'
=>
'H5链接'
,
'slogan'
=>
'应用宣传语'
,
'type'
=>
'应用类型'
,
'sort'
=>
'应用排序'
,
'status'
=>
'应用状态'
];
}
public
function
scenarios
()
{
$scenarios
=
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment