|
|
@@ -15,6 +15,7 @@ use addons\unishop\model\Area; |
|
|
|
use addons\unishop\model\Config; |
|
|
|
use addons\unishop\model\Evaluate; |
|
|
|
use addons\unishop\model\Product; |
|
|
|
use app\admin\model\OrderLog; |
|
|
|
use app\admin\model\unishop\Coupon as CouponModel; |
|
|
|
use addons\unishop\model\DeliveryRule as DeliveryRuleModel; |
|
|
|
use addons\unishop\model\OrderRefund; |
|
|
@@ -661,4 +662,13 @@ return ; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
public function submitbar(){ |
|
|
|
$data=json_encode($_POST); |
|
|
|
$now=date("Y-m-d H:i:s"); |
|
|
|
$order_log= new OrderLog(); |
|
|
|
$order_log->data=$data; |
|
|
|
$order_log->time=$now; |
|
|
|
$order_log->save(); |
|
|
|
} |
|
|
|
|
|
|
|
} |