This commit is contained in:
mkm 2023-07-20 15:04:59 +08:00
parent b000a00504
commit 2c00b12c5b
2 changed files with 4 additions and 4 deletions

View File

@ -152,7 +152,7 @@ class CompanyController extends BaseAdminController
'mobile' => $company['master_phone'],
'name' => $company['company_name'],
'type' => '《' . $find['contract_type_two_name'] . '》',
'code' => 'api/Hetong/'.$find['id'],
'code' => 'api/Hetong/url?id='.$find['id'],
'scene' => 'WQ'
];
$result = SmsLogic::contractUrl($sms);
@ -192,7 +192,7 @@ class CompanyController extends BaseAdminController
'mobile' => $company['master_phone'],
'name' => $company['company_name'],
'type' => '《' . $find['contract_type_two_name'] . '》',
'code' => 'api/Hetong/'.$find['id'],
'code' => 'api/Hetong/url?id='.$find['id'],
'scene' => 'WQ'
];
$result = SmsLogic::contractUrl($sms);

View File

@ -14,11 +14,11 @@ use think\response\Json;
* Class IndexController
* @package app\api\controller
*/
class IndexController extends BaseApiController
class HetongController extends BaseApiController
{
public array $notNeedLogin = ['index', 'config', 'policy', 'decorate'];
public array $notNeedLogin = ['url'];
public function url()
{