1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- namespace refill\xunyinoil;
- use mtopcard;
- class config
- {
- //https://docs.qq.com/doc/DYm5iQmlUb01tVXln
- const PAY_PHONE_URL = 'https://openapi.xunyin.com/openapi/submit';
- const QUERY_URL= 'https://openapi.xunyin.com/openapi/query';
- const BALANCE_URL= 'http://openapi.xunyin.com/openapi/QueryMerchant';
- const CP_ID= '8417';
- const KEY = 'd4317a37ad90bc38cd346c6ad3056a7f';
- const API_IP = NET_IP;
- const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_xunyinoil.php";
- const GoodsId = [
- mtopcard\PetroChinaCard => [
- 50 => 15325,
- 100 => 15326,
- 200 => 15327,
- 500 => 15328,
- 1000 => 15329
- ],
- mtopcard\SinopecCard => [
- 50 => 15312,
- 100 => 15313,
- 200 => 15314,
- 500 => 15315,
- 1000 => 15316
- ]
- ];
- const ERR_CODE = [
- '8001','8002','8003','8004','8005','8006','8007','8009','8011','8012','8013','8016','8020','9001','9002','9003','9004','9005','9006'
- ];
- }
|