正在显示
2 个修改的文件
包含
1 行增加
和
4 行删除
@@ -254,7 +254,7 @@ class OrderSalesmanController extends WeChatBaseController | @@ -254,7 +254,7 @@ class OrderSalesmanController extends WeChatBaseController | ||
254 | public function upload_img() { | 254 | public function upload_img() { |
255 | if($this->request->isAjax()) { | 255 | if($this->request->isAjax()) { |
256 | set_time_limit(0); | 256 | set_time_limit(0); |
257 | - ini_set('memory_limit', '256M'); | 257 | + ini_set('memory_limit', '512M'); |
258 | ini_set("max_execution_time", 0); | 258 | ini_set("max_execution_time", 0); |
259 | $img = $this->request->param('img'); | 259 | $img = $this->request->param('img'); |
260 | $top = $this->request->param('top'); | 260 | $top = $this->request->param('top'); |
@@ -1454,9 +1454,6 @@ | @@ -1454,9 +1454,6 @@ | ||
1454 | success: function (res) { | 1454 | success: function (res) { |
1455 | img_url = res.data; | 1455 | img_url = res.data; |
1456 | $('.view_img').css('display','block'); | 1456 | $('.view_img').css('display','block'); |
1457 | - }, | ||
1458 | - error: function (XMLHttpRequest, textStatus, errorThrown) { | ||
1459 | - alert(XMLHttpRequest.status+" "+XMLHttpRequest.readyState+" "+textStatus); | ||
1460 | } | 1457 | } |
1461 | }); | 1458 | }); |
1462 | // document.querySelector(".down").setAttribute('href', canvas.toDataURL()); | 1459 | // document.querySelector(".down").setAttribute('href', canvas.toDataURL()); |
-
请 注册 或 登录 后发表评论