| 
                
               | 
              
                
               | 
              
                @@ -922,7 +922,7 @@ def lesman_photo_price(request): 
               | 
            
            
            
              | 
                922
               | 
              
                922
               | 
              
                     """ 
               | 
            
            
            
              | 
                923
               | 
              
                923
               | 
              
                     user_id = request.POST.get('user_id', '')
               | 
            
            
            
              | 
                924
               | 
              
                924
               | 
              
                     photo_id = request.POST.get('photo_id', '')
               | 
            
            
            
              | 
                925
               | 
              
                
               | 
              
                -    photo_type = request.POST.get('photo_type', 'nomark')  # nomakr for 去除水印, origin for 获取高清图
               | 
            
            
            
              | 
                
               | 
              
                925
               | 
              
                +    photo_type = request.POST.get('photo_type', 'nomark')  # nomark for 去除水印, origin for 获取高清图
               | 
            
            
            
              | 
                926
               | 
              
                926
               | 
              
                  
               | 
            
            
            
              | 
                927
               | 
              
                927
               | 
              
                     # 处理价格逻辑 
               | 
            
            
            
              | 
                928
               | 
              
                928
               | 
              
                     lesman_photo_price_key = LESMAN_PHOTO_PRICE % (user_id, photo_id, photo_type) 
               | 
            
            
            
            
            
              | 
                
               | 
              
                
               | 
              
                @@ -946,7 +946,7 @@ def lesman_photo_price(request): 
               | 
            
            
            
              | 
                946
               | 
              
                946
               | 
              
                         'status': 200, 
               | 
            
            
            
              | 
                947
               | 
              
                947
               | 
              
                         'message': u'获取价格成功', 
               | 
            
            
            
              | 
                948
               | 
              
                948
               | 
              
                         'data': {
               | 
            
            
            
              | 
                949
               | 
              
                
               | 
              
                -            photo_type: price 
               | 
            
            
            
              | 
                
               | 
              
                949
               | 
              
                +            'price': price 
               | 
            
            
            
              | 
                950
               | 
              
                950
               | 
              
                         } 
               | 
            
            
            
              | 
                951
               | 
              
                951
               | 
              
                     }) 
               | 
            
            
            
              | 
                952
               | 
              
                952
               | 
              
                  
               |