...
|
...
|
@@ -354,14 +354,7 @@ class Notify extends Api |
|
|
$product_id = $in_app->product_id;
|
|
|
if($product_id && !empty($product_id)){
|
|
|
// 产品ID数组
|
|
|
$productids = [
|
|
|
"com.zhanghao.GMAT_12",
|
|
|
"com.zhanghao.GMAT_73",
|
|
|
"com.zhanghao.GMAT_113",
|
|
|
"com.zhanghao.GMAT_288",
|
|
|
"com.zhanghao.GMAT_488",
|
|
|
"com.zhanghao.GMAT_798"
|
|
|
];
|
|
|
$productids = ["1","2","3","4","5","6"];
|
|
|
if(in_array($product_id, $productids)){
|
|
|
// 查询该比交易是否已经成功
|
|
|
$transaction_id = $in_app->transaction_id;// 本次购买苹果内购的唯一标识,相当于订单号
|
...
|
...
|
|