切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
差异文件
浏览文件
作者
王晓刚
6 years ago
提交
94135e9edc79144c99dee602eff13dbd109960da
2 个父辈
3a90a09a
3ce4446e
1 个管道 的构建
通过
耗费 0 秒
合并分支 'wangxiaogang' 到 'master'
筛选学校问题 查看合并请求
!100
变更
3
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
16 行增加
和
15 行删除
app/portal/controller/OrderpageController.php
public/themes/simpleboot3/portal/order_salesman/get_all.html
simplewind/cmf/controller/WeChatBaseController.php
app/portal/controller/OrderpageController.php
查看文件 @
94135e9
...
...
@@ -285,12 +285,13 @@ class OrderpageController extends WeChatBaseController{
public
function
get_school
(){
$user_id
=
cmf_get_current_user_id
();
$my_user
=
Db
::
name
(
'my_user'
)
->
where
(
'uid'
,
$user_id
)
->
find
();
$my_user2
=
Db
::
name
(
'my_user'
)
->
where
(
'id'
,
$my_user
[
'pid'
])
->
find
();
$area
=
$this
->
request
->
param
(
'area'
,
0
);
if
(
empty
(
$area
)){
$this
->
error
(
'缺少必要参数'
);
}
$where
[
'region'
]
=
[
'like'
,
"%
$area
%"
];
$where
[
'uid'
]
=
[
'eq'
,
$my_user
[
'p
id'
]];
$where
[
'uid'
]
=
[
'eq'
,
$my_user
2
[
'u
id'
]];
$data
=
Db
::
name
(
'school'
)
->
where
(
$where
)
->
select
();
$this
->
success
(
'SUCCESS'
,
''
,
$data
);
}
...
...
public/themes/simpleboot3/portal/order_salesman/get_all.html
查看文件 @
94135e9
...
...
@@ -271,9 +271,9 @@
</div>
</if>
<elseif
condition=
"$vo.state eq 3"
/>
<div
class=
"log_three_bottom"
data-indent-id=
"{$vo.id}"
>
已完成啦
</div>
<!--<div class="log_three_bottom" data-indent-id="{$vo.id}">-->
<!--已完成啦-->
<!--</div>-->
</if>
</div>
</div>
...
...
@@ -347,9 +347,9 @@
</a>
</if>
<elseif
condition=
"$vo.state eq 3"
/>
<div
class=
"log_three_bottom"
data-indent-id=
"{$vo.id}"
>
已完成啦
</div>
<!--<div class="log_three_bottom" data-indent-id="{$vo.id}">-->
<!--已完成啦-->
<!--</div>-->
</if>
</div>
</div>
...
...
@@ -423,9 +423,9 @@
</a>
</if>
<elseif
condition=
"$vo.state eq 3"
/>
<div
class=
"log_three_bottom"
data-indent-id=
"{$vo.id}"
>
已完成啦
</div>
<!--<div class="log_three_bottom" data-indent-id="{$vo.id}">-->
<!--已完成啦-->
<!--</div>-->
</if>
</div>
</div>
...
...
@@ -651,9 +651,9 @@
}
}
else
{
var
state
=
'已完成'
;
var
html_bottom
=
"<div class=\"log_three_bottom\" data-indent-id=\"\"+result[i].id+\"\">\n"
+
"\t\t\t\t\t\t\t\t\t\t已完成啦\n"
+
"\t\t\t\t\t\t\t\t\t</div>"
;
// var html_bottom = "<div class=\"log_three_bottom\" data-indent-id=\"\"+result[i].id+\"\">\n" +
// "\t\t\t\t\t\t\t\t\t\t已完成啦\n" +
// "\t\t\t\t\t\t\t\t\t</div>";
}
var
indent_goods_data
=
result
[
i
].
indent_goods
;
var
indent_goods_html
=
''
;
...
...
simplewind/cmf/controller/WeChatBaseController.php
查看文件 @
94135e9
...
...
@@ -204,8 +204,8 @@ class WeChatBaseController extends BaseController
*/
public
function
checkWeChatUserLogin
()
{
/*$user = Db::name('user')->where('id',5)->find();
cmf_update_current_user($user);*/
$user
=
Db
::
name
(
'user'
)
->
where
(
'id'
,
4
)
->
find
();
cmf_update_current_user
(
$user
);
$userId
=
cmf_get_current_user_id
();
if
(
empty
(
$userId
))
{
$config
=
[
...
...
请
注册
或
登录
后发表评论