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