Update
parent
e42f4e0052
commit
c5c4032fc7
|
|
@ -41,6 +41,8 @@ class OrderProfitCheck extends Command
|
||||||
*/
|
*/
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
|
OrderProfit::where('status', 0)->where('money', 0)->update(['status' => 2]);
|
||||||
|
|
||||||
$service = new WxpayService();
|
$service = new WxpayService();
|
||||||
$service1 = new DistributeService();
|
$service1 = new DistributeService();
|
||||||
$list = OrderProfit::where('status', 1)->get()->groupBy('order_id');
|
$list = OrderProfit::where('status', 1)->get()->groupBy('order_id');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue