20240120-ljl-routeConfig
ljl 10 months ago
parent 7b148c25b8
commit af0fc54c6d

@ -17,6 +17,8 @@ use StatusConst;
use ZcArrayHelper; use ZcArrayHelper;
class OpOrderDao extends AbstractDao { class OpOrderDao extends AbstractDao {
protected $pk = 'order_id';
public function searchPage($filterMallIds, $filterCondition, $page, $pageSize) { public function searchPage($filterMallIds, $filterCondition, $page, $pageSize) {
list($conditions, $joinTables) = $this->getSearchOrderCondition($filterCondition, $filterMallIds); list($conditions, $joinTables) = $this->getSearchOrderCondition($filterCondition, $filterMallIds);
$whereStr = !empty($conditions) ? implode(' ', $conditions) : ''; $whereStr = !empty($conditions) ? implode(' ', $conditions) : '';

@ -141,7 +141,7 @@ class HtmlTool {
public static function getStaticCommonFile($files, $forceTimestamp = '') { public static function getStaticCommonFile($files, $forceTimestamp = '') {
$static = array(); $static = array();
$staticDir = str_replace('\\', '/', Zc::C(ZcConfigConst::DirWsApp)); $staticDir = str_replace('\\', '/', Zc::C(ZcConfigConst::DirWsApp));
$apiPath = stripos(Zc::C('static.domain'), '.api.') != false ? '/' : '/api/'; $apiPath = stripos(Zc::C('static.domain'), 'api.') === 0 ? '/' : '/api/';
$staticUrlPart = AppConst::getCurProtocol() . '://' . Zc::C('static.domain') . $apiPath . $staticDir . 'views/static_common/'; $staticUrlPart = AppConst::getCurProtocol() . '://' . Zc::C('static.domain') . $apiPath . $staticDir . 'views/static_common/';
$files = is_array($files) ? $files : [$files]; $files = is_array($files) ? $files : [$files];
foreach ($files as $file) { foreach ($files as $file) {

@ -148,7 +148,6 @@ class PddOAuthClient {
$this->logInvoke($request, $accessToken, $ss, 'api_params_check_fail', $checkRet['code']); $this->logInvoke($request, $accessToken, $ss, 'api_params_check_fail', $checkRet['code']);
return $checkRet; return $checkRet;
} }
$needSendParams = $this->buildNeedSendParams($request, $accessToken); $needSendParams = $this->buildNeedSendParams($request, $accessToken);
// 发送http请求 // 发送http请求
$maxTimes = 3; $maxTimes = 3;

Loading…
Cancel
Save