Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
hujun
tl_estate
Commits
4a86ba1e
Commit
4a86ba1e
authored
Mar 11, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优惠券
parent
d05249e1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
+14
-2
Activity.php
application/api/controller/Activity.php
+2
-1
ActivityService.php
application/api/service/ActivityService.php
+11
-0
ActivityValidate.php
application/api/validate/ActivityValidate.php
+1
-1
No files found.
application/api/controller/Activity.php
View file @
4a86ba1e
...
@@ -5,7 +5,7 @@ use think\Request;
...
@@ -5,7 +5,7 @@ use think\Request;
/**
/**
* Created by PhpStorm.
* Created by PhpStorm.
* User:
fuju
* User:
zw
* Date: 2019/3/11
* Date: 2019/3/11
* Time: 9:46
* Time: 9:46
*/
*/
...
@@ -15,6 +15,7 @@ class Activity extends Basic {
...
@@ -15,6 +15,7 @@ class Activity extends Basic {
parent
::
__construct
(
$request
);
parent
::
__construct
(
$request
);
}
}
public
function
createActivity
(){
public
function
createActivity
(){
$params
=
$this
->
params
;
$checkResult
=
$this
->
validate
(
$params
,
"UWxInfoValidate.add"
);
$checkResult
=
$this
->
validate
(
$params
,
"UWxInfoValidate.add"
);
if
(
true
!==
$checkResult
)
{
if
(
true
!==
$checkResult
)
{
return
$this
->
response
(
"101"
,
$checkResult
);
return
$this
->
response
(
"101"
,
$checkResult
);
...
...
application/api/service/ActivityService.php
0 → 100644
View file @
4a86ba1e
<?php
namespace
app\api\service
;
/**
* Created by PhpStorm.
* User: zw
* Date: 2019/3/11
* Time: 10:15
*/
class
ActivityService
{
}
application/api/validate/ActivityValidate.php
View file @
4a86ba1e
...
@@ -6,7 +6,7 @@ use think\Validate;
...
@@ -6,7 +6,7 @@ use think\Validate;
/**
/**
* Created by PhpStorm.
* Created by PhpStorm.
* User:
fuju
* User:
zw
* Date: 2019/3/11
* Date: 2019/3/11
* Time: 9:49
* Time: 9:49
*/
*/
...
...
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