'int' ); // 商品信息 public const GOODS = [ 1 => [ 'goods_id' => 1, 'desc' => '金fa充值', 'total_fee' => 100, 'gold_flower' => 1, 'red_flower' => 0, 'body' => '卖室友充值', 'notify_url' => "/api/core/pay/notify" ], 2 => [ 'goods_id' => 2, 'desc' => '卖室友表白', 'total_fee' => 100, 'gold_flower' => 0, 'red_flower' => 0, 'body' => '卖室友表白', 'notify_url' => "/api/core/pay/notify" ], 3 => [ 'goods_id' => 3, 'desc' => '72小时恋爱体验报名', 'total_fee' => 990, 'gold_flower' => 0, 'red_flower' => 0, 'body' => '72小时入场券', 'notify_url' => "/api/core/pay/notify" ], 9 => [ 'goods_id' => 9, 'desc' => '购买小fa充值', 'total_fee' => 900, 'gold_flower' => 10, 'red_flower' => 0, 'body' => '卖室友充值', 'notify_url' => "/api/core/pay/notify" ], 10 => [ 'goods_id' => 10, 'desc' => '购买小fa充值', 'total_fee' => 8800, 'gold_flower' => 100, 'red_flower' => 0, 'body' => '卖室友充值', 'notify_url' => "/api/core/pay/notify" ], 12 => [ 'goods_id' => 12, 'desc' => "「1个月」超级会员充值", 'total_fee' => 2990, 'gold_flower' => 0, 'red_flower' => 0, 'body' => '分配对象「1个月」超级会员充值', 'notify_url' => "/api/pay/notify/supervip" ], 13 => [ 'goods_id' => 13, 'desc' => "「3个月」超级会员充值", 'total_fee' => 7200, 'gold_flower' => 0, 'red_flower' => 0, 'body' => '分配对象「3个月」超级会员充值', 'notify_url' => "/api/pay/notify/supervip" ], 14 => [ 'goods_id' => 14, 'desc' => "「12个月」超级会员充值", 'total_fee' => 25200, 'gold_flower' => 0, 'red_flower' => 0, 'body' => '分配对象「12个月」超级会员充值', 'notify_url' => "/api/pay/notify/supervip" ], ]; public function user() { return $this->belongsTo(UserModel::class, 'uid', 'uid'); } public function coupon() { return $this->belongsTo(CouponModel::class, 'coupon_id'); } }