Commit d318becf authored by 王浩's avatar 王浩

Merge branch 'haow/dev' into 'test'

fix code

See merge request alpha/sun!267
parents 1c8e40d4 60eeb22a
......@@ -153,7 +153,7 @@ class PictorialProductAdd(APIView):
"""画报添加商品关系"""
def post(self, request):
ids = request.POST.get('ids', '[]')
ids = json.loads(request.POST.get('ids', '[]'))
product_id = request.POST.get('product_id')
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment