切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
刘朕
6 years ago
提交
da96799fa30a0bd682c97a953aa821be2595060d
1 个父辈
a4a5aa39
1 个管道 的构建
通过
耗费 17 秒
页面生成图片修改
变更
2
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
5 行增加
和
2 行删除
app/portal/controller/OrderSalesmanController.php
public/themes/simpleboot3/portal/order_salesman/get_all.html
app/portal/controller/OrderSalesmanController.php
查看文件 @
da96799
...
...
@@ -253,6 +253,9 @@ class OrderSalesmanController extends WeChatBaseController
public function upload_img() {
if(
$this->request
->isAjax()) {
set_time_limit(0);
ini_set('memory_limit', '256M');
ini_set("
max_execution_time
", 0);
$img
=
$this->request
->param('img');
$top
=
$this->request
->param('top');
if(
$img
) {
...
...
@@ -283,7 +286,7 @@ class OrderSalesmanController extends WeChatBaseController
$new_file
=
$path
."
/
".
$file_path
;
if(!file_exists(
$new_file
)){
//检查是否有该文件夹,如果没有就创建,并给予最高权限
mkdir(
$new_file
, 07
00
);
mkdir(
$new_file
, 07
77,true
);
}
$new_file
=
$new_file
.cmf_get_current_user_id()."
.
{
$type
}
";
if (file_put_contents(
$new_file
, base64_decode(str_replace(
$result[1]
, '',
$base64_image_content
)))){
...
...
public/themes/simpleboot3/portal/order_salesman/get_all.html
查看文件 @
da96799
...
...
@@ -420,7 +420,7 @@
</div>
</foreach>
</div>
<div
class=
"view_img"
style=
"padding: 0 0.3rem;"
>
<div
class=
"view_img"
style=
"padding: 0 0.3rem;
display: none;
"
>
<div
class=
"log_three_select_one log_three_select_btn down"
href=
"javascript:;"
id=
"view_cavans"
>
查看订单截图
</div>
</div>
<!-- 列表内容 -->
...
...
请
注册
或
登录
后发表评论