|
|
|
@ -666,7 +666,7 @@ class ExpressTplService extends AbstractService {
|
|
|
|
|
|
|
|
|
|
private function generateUserExpressTplAuthCode($mallId, $tplId) {
|
|
|
|
|
if(CommonTool::anyEmpty($mallId, $tplId)){
|
|
|
|
|
return new CheckClientException('参数错误');
|
|
|
|
|
throw new CheckClientException('参数错误');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$uuid = CommonTool::getUuidName();
|
|
|
|
@ -688,7 +688,7 @@ class ExpressTplService extends AbstractService {
|
|
|
|
|
|
|
|
|
|
public function getUserExpressTplAuthCode($mallId, $tplId, $isChange = false) {
|
|
|
|
|
if(CommonTool::anyEmpty($mallId, $tplId)){
|
|
|
|
|
return new CheckClientException('参数错误');
|
|
|
|
|
throw new CheckClientException('参数错误');
|
|
|
|
|
}
|
|
|
|
|
if ($isChange) {
|
|
|
|
|
return $this->generateUserExpressTplAuthCode($mallId, $tplId);
|
|
|
|
|