Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
loveisland
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
刘小敏
loveisland
Commits
66428995
Commit
66428995
authored
Apr 24, 2026
by
gongs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
我的试戴接口调试
parent
a75a7ba6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
+8
-9
User.php
addons/shopro/controller/user/User.php
+8
-5
manifest.json
addons/shopro/uniapp/manifest.json
+0
-0
AiTryon.php
application/admin/model/shopro/AiTryon.php
+0
-4
No files found.
addons/shopro/controller/user/User.php
View file @
66428995
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
namespace
addons\shopro\controller\user
;
namespace
addons\shopro\controller\user
;
use
app\admin\model\shopro\AiTryon
;
use
app\common\library\Sms
;
use
app\common\library\Sms
;
use
addons\shopro\controller\Common
;
use
addons\shopro\controller\Common
;
use
addons\shopro\service\user\UserAuth
;
use
addons\shopro\service\user\UserAuth
;
...
@@ -10,7 +9,7 @@ use app\admin\model\shopro\user\User as UserModel;
...
@@ -10,7 +9,7 @@ use app\admin\model\shopro\user\User as UserModel;
use
app\admin\model\shopro\user\Coupon
as
UserCouponModel
;
use
app\admin\model\shopro\user\Coupon
as
UserCouponModel
;
use
app\admin\model\shopro\order\Order
as
OrderModel
;
use
app\admin\model\shopro\order\Order
as
OrderModel
;
use
app\admin\model\shopro\order\Aftersale
as
AftersaleModel
;
use
app\admin\model\shopro\order\Aftersale
as
AftersaleModel
;
use
app\admin\model\shopro\AiTryon
as
aiTryo
nModel
;
use
app\admin\model\shopro\AiTryon
as
AiTryO
nModel
;
use
app\admin\model\shopro\ThirdOauth
;
use
app\admin\model\shopro\ThirdOauth
;
class
User
extends
Common
class
User
extends
Common
...
@@ -51,11 +50,15 @@ class User extends Common
...
@@ -51,11 +50,15 @@ class User extends Common
/**
/**
* 我的试戴
* 我的试戴
*/
*/
public
function
myTyon
()
public
function
myT
r
yon
()
{
{
$user
=
auth_user
();
$user
=
auth_user
();
//查询我的试戴列表
$data
=
AiTryon
::
geted
()
->
where
(
'user_id'
,
$user
->
id
)
->
count
();
// 查询我的试戴列表
$data
=
AiTryOnModel
::
where
(
'user_id'
,
$user
->
id
)
->
order
(
'id'
,
'desc'
)
->
paginate
(
request
()
->
param
(
'list_rows'
,
10
))
->
toArray
();
$this
->
success
(
'我的试戴'
,
$data
);
$this
->
success
(
'我的试戴'
,
$data
);
}
}
...
...
addons/shopro/uniapp/manifest.json
View file @
66428995
This diff is collapsed.
Click to expand it.
application/admin/model/shopro/AiTryon.php
View file @
66428995
...
@@ -8,10 +8,6 @@ use think\Model;
...
@@ -8,10 +8,6 @@ use think\Model;
class
AiTryon
extends
Model
class
AiTryon
extends
Model
{
{
// 表名
// 表名
protected
$name
=
'ai_tryon'
;
protected
$name
=
'ai_tryon'
;
...
...
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