mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-08 14:40:03 +08:00
现金支付插件支持手机+细节优化
This commit is contained in:
@ -1186,7 +1186,6 @@ function HexToRgb($hex_color) {
|
||||
'b' => hexdec(substr($color, 4, 2))
|
||||
];
|
||||
} else {
|
||||
$color = $hex_color;
|
||||
$r = substr($color, 0, 1) . substr($color, 0, 1);
|
||||
$g = substr($color, 1, 1) . substr($color, 1, 1);
|
||||
$b = substr($color, 2, 1) . substr($color, 2, 1);
|
||||
|
||||
@ -356,7 +356,7 @@ class OrderService
|
||||
|
||||
return $ret;
|
||||
}
|
||||
return DataReturn(empty($ret['msg']) ? '支付接口异常' : $ret['msg'], -1);
|
||||
return DataReturn(empty($ret['msg']) ? '支付接口异常' : $ret['msg'], isset($ret['code']) ? $ret['code'] : -1, isset($ret['data']) ? $ret['data'] : '');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user