💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
**SQL** ``` SELECT Slops.dbo.f_getUserModelCode(@UserID,29) as code ``` ***** **JS里套DIV** ``` <script type="text/html" template lay-url="{{ layui.setter.apiUrl.SlopsApi }}/Execute?path=government%2FBasicInfo.txt&bidID={{ layui.data(layui.setter.tableName).bidID}}" lay-done="setTimeout(function(){layui.data.done(d)},200);"> {{# var code = d.tables[3][0].CzSelf; }} <div> <div> {{# if(code.charAt(0) === '1'){ }} <button> </button> {{# } }} </div> </div> </script> ``` ***** ### 涉及知识点: charAt() 方法可返回**指定位置**的字符 括号内填写**下标值** Slops.dbo.f_getUserModelCode(@UserID,29) 括号第二个参数,**菜单ID**