...
|
...
|
@@ -11,6 +11,7 @@ namespace app\portal\controller; |
|
|
|
|
|
use cmf\controller\HomeBaseController;
|
|
|
use think\Db;
|
|
|
use think\Log;
|
|
|
use wxapp\pay\WeixinPay;
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -162,6 +163,8 @@ class OrderController extends HomeBaseController{ |
|
|
if ($free==1 && $is_free==0){
|
|
|
$price-=$cost['cost'];
|
|
|
Db::name('users')->where('id',$users_id)->update(['is_free'=>2]);
|
|
|
|
|
|
Log::write($price);
|
|
|
}
|
|
|
}
|
|
|
//与预设时间段的头部重合
|
...
|
...
|
|