摘要: 直接上代码 数组中: 值在前 。数组在后 if(in_array($sku_id,$attribute[0]['attr_value_list'])){ echo 'true'; } else{ echo 'false'; } 字符串中: 数组在前 值在后 if (strpos($attribute 阅读全文
posted @ 2022-03-30 19:52 79524795 阅读(189) 评论(0) 推荐(0) 编辑
摘要: niushop接口都会 继承一个父类 BaseApi去验证。把接口后面加上 ?app_type=pc 即可; 阅读全文
posted @ 2022-03-30 10:57 79524795 阅读(72) 评论(0) 推荐(0) 编辑