第三方平台配置(配置后可使用扫码一键绑定小程序功能,不使用可不配置此项。代理商空的情况下默认继承管理员)
{tk()}{$u->hidden('id')} {if $u->isadmin==1}
{$u->radio(array('1'=>"默认授权"),'bd_auth_type','checked="checked"')} {$u->radio(array('2'=>"借用授权"),'bd_auth_type')}
bd_auth_type != 2}style="display: none;"{/if}>
{$u->text('bd_auth_url','class="form-control" placeholder="可为空值(默认系统内置域名)"')}
(无需填写"http://")
{/if}
bd_auth_type == 2}style="display: none;"{/if}>
{$u->text('bd_client_id','class="form-control"')}
{$u->text('bd_key','class="form-control"')}
{$u->text('bd_token','class="form-control" ')}
{$u->text('bd_aes_key','class="form-control"')}
{$u->text('bd_config_domain','class="form-control"')}
{$u->text('bd_template_id','class="form-control"')}
(此处为空自动读取模板库最新的模板ID)