|
@@ -136,7 +136,7 @@ class Orders extends Auth{
|
|
|
// 恭喜
|
|
|
$shopName = $orderAddr['contact_shop'] ? $orderAddr['contact_shop'] : $order['custom_name'];
|
|
|
// 结果
|
|
|
- $shareImage = $this->getShareImage($shopName,$order['custom_uid'],$order['id'],$score);
|
|
|
+ $shareImage = $this->getShareImage($shopName,$score);
|
|
|
// 分配数据
|
|
|
$this->assign('empty', '<tr><td colspan="20">~~暂无数据</td></tr>');
|
|
|
$this->assign('order', $order);
|
|
@@ -539,7 +539,7 @@ class Orders extends Auth{
|
|
|
* 分享图片
|
|
|
*
|
|
|
*/
|
|
|
- private function getShareImage($shopName,$uid,$orderId,$score=0){
|
|
|
+ private function getShareImage($shopName,$score=0){
|
|
|
// 尝试执行
|
|
|
try {
|
|
|
// 加载图片
|
|
@@ -592,7 +592,6 @@ class Orders extends Auth{
|
|
|
|
|
|
return $base64;
|
|
|
} catch (\Throwable $th) {
|
|
|
- dd($th);
|
|
|
// 返回路径
|
|
|
return '';
|
|
|
}
|