Commit 59e23315 by LiuJunYi

配置问题,小修改

parent e5d2b716
......@@ -134,11 +134,14 @@
</td>
<td>{$vo.created_at}</td>
<td align="center">
{if $vo.type==1}
{if $vo.status ==1}
<button class="btn btn-primary comment" data-id="{$vo.id}">待评价</button>
{else /}
<button class="btn btn-primary" disabled="disabled">待评价</button>
{/if}
/
{/if}
</td>
</tr>
{/volist}
......
......@@ -233,8 +233,6 @@ class Order extends Base
} catch (\Exception $e) {
Db::rollback();
Log::record($e->getMessage(),'error');
Log::record($e->getPrevious(),'error');
return ['code' => 1, 'msg' => $e->getMessage()];
}
}
......@@ -325,8 +323,6 @@ class Order extends Base
$succeed = true;
} catch (\Exception $e) {
// 回滚事务
Log::record($e->getMessage(),'error');
Log::record($e->getPrevious(),'error');
Db::rollback();
$succeed = false;
......
......@@ -258,7 +258,7 @@ $config = [
//退款和支付共同用的
'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