Commit 59e23315 by LiuJunYi

配置问题,小修改

parent e5d2b716
...@@ -134,11 +134,14 @@ ...@@ -134,11 +134,14 @@
</td> </td>
<td>{$vo.created_at}</td> <td>{$vo.created_at}</td>
<td align="center"> <td align="center">
{if $vo.type==1}
{if $vo.status ==1} {if $vo.status ==1}
<button class="btn btn-primary comment" data-id="{$vo.id}">待评价</button> <button class="btn btn-primary comment" data-id="{$vo.id}">待评价</button>
{else /} {else /}
<button class="btn btn-primary" disabled="disabled">待评价</button> <button class="btn btn-primary" disabled="disabled">待评价</button>
{/if} {/if}
/
{/if}
</td> </td>
</tr> </tr>
{/volist} {/volist}
......
...@@ -233,8 +233,6 @@ class Order extends Base ...@@ -233,8 +233,6 @@ class Order extends Base
} catch (\Exception $e) { } catch (\Exception $e) {
Db::rollback(); Db::rollback();
Log::record($e->getMessage(),'error');
Log::record($e->getPrevious(),'error');
return ['code' => 1, 'msg' => $e->getMessage()]; return ['code' => 1, 'msg' => $e->getMessage()];
} }
} }
...@@ -325,8 +323,6 @@ class Order extends Base ...@@ -325,8 +323,6 @@ class Order extends Base
$succeed = true; $succeed = true;
} catch (\Exception $e) { } catch (\Exception $e) {
// 回滚事务 // 回滚事务
Log::record($e->getMessage(),'error');
Log::record($e->getPrevious(),'error');
Db::rollback(); Db::rollback();
$succeed = false; $succeed = false;
......
...@@ -258,7 +258,7 @@ $config = [ ...@@ -258,7 +258,7 @@ $config = [
//退款和支付共同用的 //退款和支付共同用的
'template_id_refund' => '_nkKG2jYAXY5Rf52-N3dc_eKjwcxG4OoQBwYPuXgwwY', 'template_id_refund' => '_nkKG2jYAXY5Rf52-N3dc_eKjwcxG4OoQBwYPuXgwwY',
//通知回调 //通知回调
'page' => '' 'page' => '/pages/index/index'
], ],
// 阿里云短信配置 // 阿里云短信配置
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment