切换导航条
此项目
正在载入...
登录
root
/
chengxiang
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
王晓刚
6 years ago
提交
6b74f616f22198aa845dfd8c4653dc2712f70dda
1 个父辈
3bad318e
1 个管道 的构建
通过
耗费 2 秒
"请选择"问题
变更
2
构建
1
显示空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
3 行增加
和
1 行删除
app/index/model/SubjoinInsuranceModel.php
simplewind/cmf/controller/HomeBaseController.php
app/index/model/SubjoinInsuranceModel.php
查看文件 @
6b74f61
...
...
@@ -36,6 +36,7 @@ class SubjoinInsuranceModel extends Model
->
join
(
'cmf_order o'
,
'o_i.order_id = o.id'
)
->
where
(
$where
)
->
whereOr
(
$whereor
)
->
order
(
'c.create_time'
,
'desc'
)
// ->fetchSql()
->
select
()
->
toArray
();
$new_data
=
[];
...
...
simplewind/cmf/controller/HomeBaseController.php
查看文件 @
6b74f61
...
...
@@ -200,6 +200,7 @@ class HomeBaseController extends BaseController
public
function
number
(){
$user_count
=
Db
::
name
(
'user'
)
->
where
(
'user_type'
,
2
)
->
count
();
echo
$user_count
;
if
(
count
(
str_split
(
$user_count
))
+
1
>
99999
){
return
99999
;
}
...
...
@@ -210,7 +211,7 @@ class HomeBaseController extends BaseController
$result
.=
"0"
;
}
$result
=
$result
.
(
$user_count
+
1
);
return
$result
;
echo
$result
;
}
public
function
template
(
$templateId
,
$data
,
$url
=
null
,
$openid
){
$options
=
config
(
'wechat_config'
);
...
...
请
注册
或
登录
后发表评论