pull/5/head
wanghousheng 4 months ago
parent 5ff301969e
commit 75e7db4296
  1. 6
      app/common/model/dealer/Order.php

@ -155,9 +155,9 @@ class Order extends BaseModel
{ {
Db::table('yoshop_wx_server')->insertGetId(['content' => json_encode($setting), 'created_at' => date('Y-m-d H:i:s')]); Db::table('yoshop_wx_server')->insertGetId(['content' => json_encode($setting), 'created_at' => date('Y-m-d H:i:s')]);
$arr = [ $arr = [
'first_money' => helper::bcmul($goodsPrice, helper::bcdiv($setting['first_money'], 100)), 'first_money' => helper::bcmul($goodsPrice, helper::bcdiv($setting['first_money'], 1000)),
'second_money' => helper::bcmul($goodsPrice, helper::bcdiv($setting['second_money'], 100)), 'second_money' => helper::bcmul($goodsPrice, helper::bcdiv($setting['second_money'], 1000)),
'third_money' => helper::bcmul($goodsPrice, helper::bcdiv($setting['third_money'], 100)) 'third_money' => helper::bcmul($goodsPrice, helper::bcdiv($setting['third_money'], 1000))
]; ];
Db::table('yoshop_wx_server')->insertGetId(['content' => 'arr数据', 'created_at' => date('Y-m-d H:i:s')]); Db::table('yoshop_wx_server')->insertGetId(['content' => 'arr数据', 'created_at' => date('Y-m-d H:i:s')]);
Db::table('yoshop_wx_server')->insertGetId(['content' => json_encode($arr), 'created_at' => date('Y-m-d H:i:s')]); Db::table('yoshop_wx_server')->insertGetId(['content' => json_encode($arr), 'created_at' => date('Y-m-d H:i:s')]);

Loading…
Cancel
Save