Your Name 5 months ago
parent
commit
5ea88f754f
3 changed files with 790 additions and 2033 deletions
  1. 38 117
      test/refill/oil.ini.php
  2. 717 1800
      test/refill/phone.ini.php
  3. 35 116
      test/refill/third.ini.php

+ 38 - 117
test/refill/oil.ini.php

@@ -1,173 +1,94 @@
 <?php
 
-$menggu_oil = [
-	'name' => 'menggu', 'store_id' => 130, 'qualitys' => '2', 'refill_type' => 'api',	
-	'amount' => [
-		500 => [
-			['goods_id' => 7128, 'price' => 499, 'quality' => 2, 'card_type' => 'sinopec']
-			],
-		1000 => [
-			['goods_id' => 7129, 'price' => 998, 'quality' => 2, 'card_type' => 'sinopec']
-			]
-		],
-	'period' => []
-	];
-$xinma_oil = [
-	'name' => 'xinma', 'store_id' => 339, 'qualitys' => '5', 'refill_type' => 'api',	
+$yingdian_oil = [
+	'name' => 'yingdian', 'store_id' => 89, 'qualitys' => '5', 'refill_type' => 'api',	
 	'amount' => [
 		100 => [
-			['goods_id' => 8736, 'price' => 100.4, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 8736, 'price' => 100.5, 'quality' => 5, 'card_type' => 'sinopec']
+			['goods_id' => 6813, 'price' => 97, 'quality' => 5, 'card_type' => 'sinopec,petrochina']
 			],
 		200 => [
-			['goods_id' => 8737, 'price' => 200.8, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 8737, 'price' => 201, 'quality' => 5, 'card_type' => 'sinopec']
+			['goods_id' => 6814, 'price' => 194, 'quality' => 5, 'card_type' => 'sinopec,petrochina']
 			],
 		500 => [
-			['goods_id' => 8738, 'price' => 502, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 8738, 'price' => 501, 'quality' => 5, 'card_type' => 'sinopec']
+			['goods_id' => 6815, 'price' => 485, 'quality' => 5, 'card_type' => 'sinopec,petrochina']
 			],
 		1000 => [
-			['goods_id' => 8739, 'price' => 1004, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 8739, 'price' => 1000, 'quality' => 5, 'card_type' => 'sinopec']
+			['goods_id' => 6816, 'price' => 970, 'quality' => 5, 'card_type' => 'sinopec,petrochina']
 			]
 		],
 	'period' => []
 	];
-$leyou_oil = [
-	'name' => 'leyou', 'store_id' => 358, 'qualitys' => '5', 'refill_type' => 'api',	
+$comeoil_oil = [
+	'name' => 'comeoil', 'store_id' => 273, 'qualitys' => '5', 'refill_type' => 'api',	
 	'amount' => [
 		50 => [
-			['goods_id' => 8860, 'price' => 50.15, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 8860, 'price' => 10.12, 'quality' => 5, 'card_type' => 'sinopec']
+			['goods_id' => 8258, 'price' => 50, 'quality' => 5, 'card_type' => 'petrochina,sinopec']
 			],
 		100 => [
-			['goods_id' => 8854, 'price' => 100.3, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 8854, 'price' => 100.6, 'quality' => 5, 'card_type' => 'sinopec']
+			['goods_id' => 8259, 'price' => 100, 'quality' => 5, 'card_type' => 'petrochina,sinopec']
 			],
 		200 => [
-			['goods_id' => 8855, 'price' => 200.6, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 8855, 'price' => 201.2, 'quality' => 5, 'card_type' => 'sinopec']
+			['goods_id' => 8260, 'price' => 200, 'quality' => 5, 'card_type' => 'petrochina,sinopec']
 			],
 		500 => [
-			['goods_id' => 8856, 'price' => 501.5, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 8856, 'price' => 502, 'quality' => 5, 'card_type' => 'sinopec']
+			['goods_id' => 8261, 'price' => 500, 'quality' => 5, 'card_type' => 'petrochina,sinopec']
 			],
 		1000 => [
-			['goods_id' => 8857, 'price' => 1003, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 8857, 'price' => 1004, 'quality' => 5, 'card_type' => 'sinopec']
-			],
-		2000 => [
-			['goods_id' => 8861, 'price' => 2006, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 8861, 'price' => 2008, 'quality' => 5, 'card_type' => 'sinopec']
+			['goods_id' => 8262, 'price' => 1000, 'quality' => 5, 'card_type' => 'petrochina,sinopec']
 			]
-		],
-	'period' => []
+		]
 	];
-$nanjingpushang_oil_oil = [
-	'name' => 'nanjingpushang_oil', 'store_id' => 366, 'qualitys' => '5', 'refill_type' => 'api',	
+$qudaiwoil_oil = [
+	'name' => 'qudaiwoil', 'store_id' => 287, 'qualitys' => '5', 'refill_type' => 'api',	
 	'amount' => [
-		100 => [
-			['goods_id' => 8886, 'price' => 100, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 8886, 'price' => 100, 'quality' => 5, 'card_type' => 'sinopec']
-			],
-		200 => [
-			['goods_id' => 8887, 'price' => 200, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 8887, 'price' => 200, 'quality' => 5, 'card_type' => 'sinopec']
-			],
-		500 => [
-			['goods_id' => 8888, 'price' => 500, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 8888, 'price' => 500, 'quality' => 5, 'card_type' => 'sinopec']
+		50 => [
+			['goods_id' => 8339, 'price' => 50, 'quality' => 5, 'card_type' => 'petrochina,sinopec']
 			],
-		1000 => [
-			['goods_id' => 8889, 'price' => 1000, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 8889, 'price' => 1000, 'quality' => 5, 'card_type' => 'sinopec']
-			]
-		],
-	'period' => []
-	];
-$zhongshiyou_oil_oil = [
-	'name' => 'zhongshiyou_oil', 'store_id' => 368, 'qualitys' => '5', 'refill_type' => 'api',	
-	'amount' => [
 		100 => [
-			['goods_id' => 8898, 'price' => 100, 'quality' => 5, 'card_type' => 'petrochina']
+			['goods_id' => 8340, 'price' => 100, 'quality' => 5, 'card_type' => 'petrochina,sinopec']
 			],
 		200 => [
-			['goods_id' => 8899, 'price' => 200, 'quality' => 5, 'card_type' => 'petrochina']
+			['goods_id' => 8341, 'price' => 200, 'quality' => 5, 'card_type' => 'petrochina,sinopec']
 			],
 		500 => [
-			['goods_id' => 8900, 'price' => 500, 'quality' => 5, 'card_type' => 'petrochina']
+			['goods_id' => 8342, 'price' => 500, 'quality' => 5, 'card_type' => 'petrochina,sinopec']
 			],
 		1000 => [
-			['goods_id' => 8901, 'price' => 1000, 'quality' => 5, 'card_type' => 'petrochina']
-			]
-		],
-	'period' => []
-	];
-$xuyou_oil_oil = [
-	'name' => 'xuyou_oil', 'store_id' => 364, 'qualitys' => '5', 'refill_type' => 'api',	
-	'amount' => [
-		100 => [
-			['goods_id' => 8865, 'price' => 100, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 8865, 'price' => 100, 'quality' => 5, 'card_type' => 'sinopec']
-			],
-		200 => [
-			['goods_id' => 8866, 'price' => 200, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 8866, 'price' => 200, 'quality' => 5, 'card_type' => 'sinopec']
-			],
-		300 => [
-			['goods_id' => 9212, 'price' => 300, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 9212, 'price' => 300, 'quality' => 5, 'card_type' => 'sinopec']
+			['goods_id' => 8343, 'price' => 1000, 'quality' => 5, 'card_type' => 'petrochina,sinopec']
 			],
-		500 => [
-			['goods_id' => 8867, 'price' => 500, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 8867, 'price' => 500, 'quality' => 5, 'card_type' => 'sinopec']
-			],
-		1000 => [
-			['goods_id' => 8868, 'price' => 1000, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 8868, 'price' => 1000, 'quality' => 5, 'card_type' => 'sinopec']
+		2000 => [
+			['goods_id' => 8344, 'price' => 2000, 'quality' => 5, 'card_type' => 'petrochina,sinopec']
 			]
-		],
-	'period' => []
+		]
 	];
-$duiba_oil_oil = [
-	'name' => 'duiba_oil', 'store_id' => 414, 'qualitys' => '5', 'refill_type' => 'api',	
+$yezioilzyt_oil = [
+	'name' => 'yezioilzyt', 'store_id' => 330, 'qualitys' => '5', 'refill_type' => 'api',	
 	'amount' => [
 		50 => [
-			['goods_id' => 9272, 'price' => 50, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 9272, 'price' => 50, 'quality' => 5, 'card_type' => 'sinopec']
+			['goods_id' => 8652, 'price' => 50, 'quality' => 5, 'card_type' => 'petrochina,sinopec']
 			],
 		100 => [
-			['goods_id' => 9273, 'price' => 100, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 9273, 'price' => 100, 'quality' => 5, 'card_type' => 'sinopec']
+			['goods_id' => 8652, 'price' => 100, 'quality' => 5, 'card_type' => 'petrochina,sinopec']
 			],
 		200 => [
-			['goods_id' => 9274, 'price' => 200, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 9274, 'price' => 200, 'quality' => 5, 'card_type' => 'sinopec']
+			['goods_id' => 8653, 'price' => 200, 'quality' => 5, 'card_type' => 'petrochina,sinopec']
 			],
 		500 => [
-			['goods_id' => 9275, 'price' => 500, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 9275, 'price' => 500, 'quality' => 5, 'card_type' => 'sinopec']
+			['goods_id' => 8654, 'price' => 500, 'quality' => 5, 'card_type' => 'petrochina,sinopec']
 			],
 		1000 => [
-			['goods_id' => 9276, 'price' => 1000, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 9276, 'price' => 1000, 'quality' => 5, 'card_type' => 'sinopec']
+			['goods_id' => 8655, 'price' => 1000, 'quality' => 5, 'card_type' => 'petrochina,sinopec']
 			],
 		2000 => [
-			['goods_id' => 9277, 'price' => 2000, 'quality' => 5, 'card_type' => 'petrochina'],
-			['goods_id' => 9277, 'price' => 2000, 'quality' => 5, 'card_type' => 'sinopec']
+			['goods_id' => 8656, 'price' => 2000, 'quality' => 5, 'card_type' => 'petrochina,sinopec']
 			]
-		],
-	'period' => []
+		]
 	];
 
 
 $oil_providers = [
-	[ 'name' => 'menggu', 'cfg' => $menggu_oil ],
-	[ 'name' => 'xinma', 'cfg' => $xinma_oil ],
-	[ 'name' => 'leyou', 'cfg' => $leyou_oil ],
-	[ 'name' => 'nanjingpushang_oil', 'cfg' => $nanjingpushang_oil_oil ],
-	[ 'name' => 'zhongshiyou_oil', 'cfg' => $zhongshiyou_oil_oil ],
-	[ 'name' => 'xuyou_oil', 'cfg' => $xuyou_oil_oil ],
-	[ 'name' => 'duiba_oil', 'cfg' => $duiba_oil_oil ],
+	[ 'name' => 'yingdian', 'cfg' => $yingdian_oil ],
+	[ 'name' => 'comeoil', 'cfg' => $comeoil_oil ],
+	[ 'name' => 'qudaiwoil', 'cfg' => $qudaiwoil_oil ],
+	[ 'name' => 'yezioilzyt', 'cfg' => $yezioilzyt_oil ],
 	];

File diff suppressed because it is too large
+ 717 - 1800
test/refill/phone.ini.php


+ 35 - 116
test/refill/third.ini.php

@@ -1,168 +1,87 @@
 <?php
 
-$santi_third = [
-	'name' => 'santi', 'store_id' => 129, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
-	'amount' => [
-		100 => [
-			['goods_id' => 7124, 'price' => 99, 'quality' => 1, 'card_type' => 'third']
-			]
-		]
-	];
-$yanhao_third = [
-	'name' => 'yanhao', 'store_id' => 151, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
-	'amount' => [
-		100 => [
-			['goods_id' => 7291, 'price' => 99, 'quality' => 1, 'card_type' => 'third']
-			]
-		]
-	];
-$xiaoniu_doubi_third = [
-	'name' => 'xiaoniu_doubi', 'store_id' => 156, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
+$runpu_third = [
+	'name' => 'runpu', 'store_id' => 261, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
 	'amount' => [
 		100 => [
-			['goods_id' => 7324, 'price' => 99, 'quality' => 1, 'card_type' => 'third']
+			['goods_id' => 8169, 'price' => 99, 'quality' => 1, 'card_type' => 'third']
 			]
 		]
 	];
-$tianrui_third = [
-	'name' => 'tianrui', 'store_id' => 293, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
-	'amount' => [
-		100 => [
-			['goods_id' => 8429, 'price' => 99, 'quality' => 1, 'card_type' => 'third']
-			]
-		]
-	];
-$zhongst_doubi_third = [
-	'name' => 'zhongst_doubi', 'store_id' => 296, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
-	'amount' => [
-		100 => [
-			['goods_id' => 8446, 'price' => 99, 'quality' => 1, 'card_type' => 'third']
-			]
-		]
-	];
-$bingguang_third_third = [
-	'name' => 'bingguang_third', 'store_id' => 324, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
-	'amount' => [
-		100 => [
-			['goods_id' => 8653, 'price' => 99, 'quality' => 1, 'card_type' => 'third']
-			]
-		]
-	];
-$xiecheng_third = [
-	'name' => 'xiecheng', 'store_id' => 338, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
-	'amount' => [
-		100 => [
-			['goods_id' => 8735, 'price' => 99, 'quality' => 1, 'card_type' => 'third']
-			]
-		]
-	];
-$shuzishijie_third = [
-	'name' => 'shuzishijie', 'store_id' => 340, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
-	'amount' => [
-		100 => [
-			['goods_id' => 8740, 'price' => 99, 'quality' => 1, 'card_type' => 'third']
-			]
-		]
-	];
-$piaoyi_oil_third = [
-	'name' => 'piaoyi_oil', 'store_id' => 341, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
-	'amount' => [
-		100 => [
-			['goods_id' => 8741, 'price' => 99, 'quality' => 1, 'card_type' => 'third']
-			]
-		]
-	];
-$tongka_fetch_third = [
-	'name' => 'tongka_fetch', 'store_id' => 343, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
-	'amount' => [
-		100 => [
-			['goods_id' => 8750, 'price' => 99, 'quality' => 1, 'card_type' => 'third']
-			]
-		]
-	];
-$zihexin_third = [
-	'name' => 'zihexin', 'store_id' => 347, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
+$santi_third = [
+	'name' => 'santi', 'store_id' => 129, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
 	'amount' => [
 		100 => [
-			['goods_id' => 8768, 'price' => 99, 'quality' => 1, 'card_type' => 'third']
+			['goods_id' => 7124, 'price' => 99, 'quality' => 1, 'card_type' => 'third']
 			]
 		]
 	];
-$duiba_fetch_third = [
-	'name' => 'duiba_fetch', 'store_id' => 348, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
+$youlaiqy_third = [
+	'name' => 'youlaiqy', 'store_id' => 276, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
 	'amount' => [
 		100 => [
-			['goods_id' => 8769, 'price' => 99, 'quality' => 1, 'card_type' => 'third']
+			['goods_id' => 8279, 'price' => 99, 'quality' => 1, 'card_type' => 'third']
 			]
 		]
 	];
-$zhongminquanyi_third = [
-	'name' => 'zhongminquanyi', 'store_id' => 356, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
+$yezi_liuliang_third = [
+	'name' => 'yezi_liuliang', 'store_id' => 279, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
 	'amount' => [
 		100 => [
-			['goods_id' => 8845, 'price' => 100, 'quality' => 1, 'card_type' => 'third']
+			['goods_id' => 8296, 'price' => 99, 'quality' => 1, 'card_type' => 'third']
 			]
 		]
 	];
-$yufuquanyi_third = [
-	'name' => 'yufuquanyi', 'store_id' => 360, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
+$qudaiwaquany_third = [
+	'name' => 'qudaiwaquany', 'store_id' => 286, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
 	'amount' => [
 		100 => [
-			['goods_id' => 8862, 'price' => 100, 'quality' => 1, 'card_type' => 'third']
+			['goods_id' => 8338, 'price' => 99, 'quality' => 1, 'card_type' => 'third']
 			]
 		]
 	];
-$meixu_nation_third = [
-	'name' => 'meixu_nation', 'store_id' => 373, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
+$lansequany_third = [
+	'name' => 'lansequany', 'store_id' => 292, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
 	'amount' => [
 		100 => [
-			['goods_id' => 8935, 'price' => 100, 'quality' => 1, 'card_type' => 'third']
+			['goods_id' => 8377, 'price' => 100, 'quality' => 1, 'card_type' => 'third']
 			]
 		]
 	];
-$meixull_fs_third = [
-	'name' => 'meixull_fs', 'store_id' => 374, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
+$yayuanqy_third = [
+	'name' => 'yayuanqy', 'store_id' => 293, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
 	'amount' => [
 		100 => [
-			['goods_id' => 8936, 'price' => 100, 'quality' => 1, 'card_type' => 'third']
+			['goods_id' => 8378, 'price' => 100, 'quality' => 1, 'card_type' => 'third']
 			]
 		]
 	];
-$yxcardquery_third = [
-	'name' => 'yxcardquery', 'store_id' => 408, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
+$bingguangqy_third = [
+	'name' => 'bingguangqy', 'store_id' => 296, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
 	'amount' => [
 		100 => [
-			['goods_id' => 9231, 'price' => 100, 'quality' => 1, 'card_type' => 'third']
+			['goods_id' => 8385, 'price' => 100, 'quality' => 1, 'card_type' => 'third']
 			]
 		]
 	];
-$yishengqy_third = [
-	'name' => 'yishengqy', 'store_id' => 415, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
+$guitongqy_third = [
+	'name' => 'guitongqy', 'store_id' => 297, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',	
 	'amount' => [
 		100 => [
-			['goods_id' => 9278, 'price' => 100, 'quality' => 1, 'card_type' => 'third']
+			['goods_id' => 8386, 'price' => 100, 'quality' => 1, 'card_type' => 'third']
 			]
 		]
 	];
 
 
 $third_providers = [
+	[ 'name' => 'runpu', 'cfg' => $runpu_third ],
 	[ 'name' => 'santi', 'cfg' => $santi_third ],
-	[ 'name' => 'yanhao', 'cfg' => $yanhao_third ],
-	[ 'name' => 'xiaoniu_doubi', 'cfg' => $xiaoniu_doubi_third ],
-	[ 'name' => 'tianrui', 'cfg' => $tianrui_third ],
-	[ 'name' => 'zhongst_doubi', 'cfg' => $zhongst_doubi_third ],
-	[ 'name' => 'bingguang_third', 'cfg' => $bingguang_third_third ],
-	[ 'name' => 'xiecheng', 'cfg' => $xiecheng_third ],
-	[ 'name' => 'shuzishijie', 'cfg' => $shuzishijie_third ],
-	[ 'name' => 'piaoyi_oil', 'cfg' => $piaoyi_oil_third ],
-	[ 'name' => 'tongka_fetch', 'cfg' => $tongka_fetch_third ],
-	[ 'name' => 'zihexin', 'cfg' => $zihexin_third ],
-	[ 'name' => 'duiba_fetch', 'cfg' => $duiba_fetch_third ],
-	[ 'name' => 'zhongminquanyi', 'cfg' => $zhongminquanyi_third ],
-	[ 'name' => 'yufuquanyi', 'cfg' => $yufuquanyi_third ],
-	[ 'name' => 'meixu_nation', 'cfg' => $meixu_nation_third ],
-	[ 'name' => 'meixull_fs', 'cfg' => $meixull_fs_third ],
-	[ 'name' => 'yxcardquery', 'cfg' => $yxcardquery_third ],
-	[ 'name' => 'yishengqy', 'cfg' => $yishengqy_third ],
+	[ 'name' => 'youlaiqy', 'cfg' => $youlaiqy_third ],
+	[ 'name' => 'yezi_liuliang', 'cfg' => $yezi_liuliang_third ],
+	[ 'name' => 'qudaiwaquany', 'cfg' => $qudaiwaquany_third ],
+	[ 'name' => 'lansequany', 'cfg' => $lansequany_third ],
+	[ 'name' => 'yayuanqy', 'cfg' => $yayuanqy_third ],
+	[ 'name' => 'bingguangqy', 'cfg' => $bingguangqy_third ],
+	[ 'name' => 'guitongqy', 'cfg' => $guitongqy_third ],
 	];