2025-04-10 23:19:13 +08:00

22 lines
958 B
PHP
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
//OK
//TBD uniacid的更复杂逻辑处理以便平台模式切换
$op = isset($dataGet['op']) ? $dataGet['op'] : 'null';
$ac = isset($dataGet['ac']) ? $dataGet['ac'] : 'null';
$siteId = isset($_FM['apiCert']['siteId']) ? $_FM['apiCert']['siteId'] : 0;
$platid = (isset($dataGet['platid']) && intval($dataGet['platid'])>0) ? intval($dataGet['platid']) : 0;
//TBD 进一步校验platid是否合法
$platid = (isset($_FM['platid'])) ? $_FM['platid'] : $platid;
$uniacid = (isset($dataGet['uniacid']) && intval($dataGet['uniacid'])>0) ? intval($dataGet['uniacid']) : 0;
//TBD 进一步校验uniacid是否合法
$uniacid = (isset($_FM['uniacid'])) ? $_FM['uniacid'] : $uniacid;
$shopid = (isset($dataGet['shopid']) && intval($dataGet['shopid'])>0) ? intval($dataGet['shopid']) : 0;
//TBD 进一步校验shopid是否合法
$shopid = (isset($_FM['shopid'])) ? $_FM['shopid'] : $shopid;